/* =========================================
   SECTION 1: HERO – VIDEO BACKGROUND
   ========================================= */

.home-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  color: #ffffff;
  text-align: center;
  background-color: #050814; /* fallback behind video */
  overflow: hidden;
}

/* Video layer */
.home-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none; /* so clicks go to buttons/links */
}

.home-hero__video-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay on top of video */
.home-hero .cta-hero__backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.4) 0%,
    rgba(5, 8, 20, 0.7) 40%,
    rgba(5, 8, 20, 0.92) 75%,
    #050814 100%
  );
  z-index: 1;
}

/* Content layer */
.home-hero .cta-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.home-hero .cta-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.home-hero .cta-hero__title {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.home-hero .cta-hero__lead {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  opacity: 0.9;
}

.home-hero .home-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.home-hero .home-hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  color: #ffffff;
  background: rgba(5, 8, 20, 0.35);
  backdrop-filter: blur(4px);
  transition: background 160ms ease-out, border-color 160ms ease-out,
    transform 120ms ease-out;
}

.home-hero .home-hero__link:hover,
.home-hero .home-hero__link:focus-visible {
  background: #ef202d;
  border-color: #ef202d;
  transform: translateY(-1px);
}

/* =========================================
   SHARED SHELL (CARD + BACKGROUND)
   Matches CDL A/B style
   ========================================= */

.home-shell {
  background-color: #0b0f1a; /* dark site background */
  padding: 3rem 1.5rem 4rem;
}

.page-shell__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.content-card.home-card {
  background-color: #ffffff;
  color: #111827;
  border-radius: 1.25rem;
  padding: 2.5rem 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}

/* As we add more sections, we’ll stack them with these rules */
.home-section + .home-section {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin-top: 2rem;
  padding-top: 2rem;
}

/* =========================================
   Responsive tweaks
   ========================================= */

@media (min-width: 768px) {
  .home-hero {
    padding: 5rem 2rem;
  }

  .content-card.home-card {
    padding: 3rem 2.5rem;
  }

  .home-section + .home-section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .home-hero {
    min-height: 80vh;
  }
}

/* =========================================
   SECTION 2: ABOUT / COMMITMENT
   ========================================= */

.home-about {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Left image */
.home-about__media picture,
.home-about__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}

/* Right content */
.home-about__body {
  align-self: center;
  text-align: left;
}

.home-about__title {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ef202d; /* CTA red */
}

.home-about__text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.8rem;
}

/* Red pill button similar to original */
.home-about__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.3rem;
  border-radius: 999px;
  background-color: #ef202d;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(239, 32, 45, 0.45);
  transition: background-color 140ms ease-out, box-shadow 140ms ease-out,
    transform 120ms ease-out;
}

.home-about__button:hover,
.home-about__button:focus-visible {
  background-color: #cf1b26;
  box-shadow: 0 18px 52px rgba(239, 32, 45, 0.6);
  transform: translateY(-1px);
}

/* Layout: stack on mobile, two columns on desktop */
@media (min-width: 900px) {
  .home-about {
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
  }

  .home-about__media,
  .home-about__body {
    flex: 1;
  }
}

@media (min-width: 1200px) {
  .home-about__title {
    font-size: 2rem;
  }
}

/* =========================================
   PROGRAM SECTION (MATCH ORIGINAL STYLE)
   ========================================= */

.home-programs {
  margin-top: 2rem;
}

/* Red banner title bar */
.home-programs__banner {
  width: 100%;
  background: #ef202d;
  padding: 1.2rem 0;
  text-align: center;
  border-radius: 0.6rem;
  margin-bottom: 2rem;
}

.home-programs__banner h2 {
  margin: 0;
  font-size: 2rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Grid */
.home-programs__grid {
  display: grid;
  gap: 2rem;
  justify-items: center; /* center cards in their columns */
}

@media (min-width: 900px) {
  .home-programs__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.home-programs__card {
  display: block;
  text-decoration: none;
  border-radius: 1rem;
  overflow: hidden;
  background: #f3f4f6;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 380px; /* consistent width */
}

.home-programs__card:hover {
  transform: translateY(-3px);
}

/* Make all images same aspect ratio / height */
.home-programs__card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3; /* consistent height */
  object-fit: cover; /* crop without distortion */
}

/* Card footer */
.home-programs__card-footer {
  background: #f3f3f3;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ef202d;
  text-transform: uppercase;
}

/* CTA Button */
.home-programs__cta {
  margin-top: 2.5rem;
  text-align: center;
}

.home-programs__cta-btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  border-radius: 999px;
  background: #ef202d;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(239, 32, 45, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-programs__cta-btn:hover {
  background: #d61b26;
  transform: translateY(-2px);
}
/* =========================================
   SECTION 4: HELP CTA – VIDEO BAND
   ========================================= */

.home-cta-wrapper {
  margin-top: 3rem;
}

/* Outer card that lives inside the white shell */
.home-cta {
  position: relative;
  border-radius: 1.8rem;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.35);
  isolation: isolate; /* so overlay effects stay inside */
}

/* Video layer */
.home-cta__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-cta__video-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay layer (dark + slight red tint, smooth edges) */
.home-cta__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      circle at 50% 15%,
      rgba(255, 255, 255, 0.35),
      transparent 55%
    ),
    linear-gradient(
      to bottom,
      rgba(5, 8, 20, 0.3) 0%,
      rgba(5, 8, 20, 0.65) 45%,
      rgba(5, 8, 20, 0.9) 100%
    );
}

/* Content layer */
.home-cta__inner {
  position: relative;
  z-index: 2;
  padding: 3rem 1.75rem;
  text-align: center;
  color: #ffffff;
}

.home-cta__title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-cta__text {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.9;
}

/* Big red pill button like original */
.home-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.8rem;
  border-radius: 999px;
  background: #ffffff;
  color: #ef202d;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
  transition: transform 140ms ease-out, box-shadow 140ms ease-out,
    background-color 140ms ease-out, color 140ms ease-out;
}

.home-cta__button:hover,
.home-cta__button:focus-visible {
  background-color: #fef2f2;
  color: #d61b26;
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
}

/* Larger padding on wider screens */
@media (min-width: 900px) {
  .home-cta__inner {
    padding: 4rem 3.5rem;
  }
}

/* =========================================
   SECTION: WHAT TO EXPECT
   ========================================= */

.home-expect {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.home-expect__header {
  margin-bottom: 1rem;
}

.home-expect__title {
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111827;
}

.home-expect__body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
}

.home-expect__lead {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.home-expect__copy {
  margin-bottom: 1.5rem;
}

.home-expect__schedule {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.home-expect__schedule li + li {
  margin-top: 0.9rem;
}

.home-expect__schedule strong {
  color: #111827;
}

.home-expect__note {
  font-style: italic;
  color: #111827;
}

/* Slightly larger text on bigger screens */
@media (min-width: 900px) {
  .home-expect__title {
    font-size: 2.1rem;
  }

  .home-expect__body {
    font-size: 1rem;
  }
}

/* =========================================
   JOB PLACEMENT / PLACEMENT PARTNERS
   ========================================= */

.home-placement {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Left image */
.home-placement__media {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
}

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

.home-placement__media picture,
.home-placement__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right dark panel */
.home-placement__panel {
  background: #1f252b;
  color: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 2.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
}

.home-placement__title {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-placement__intro {
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 1.8rem;
}

.home-placement__lists {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.1rem;
}

.home-placement__lists ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-placement__lists li {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Red pill button (matches original "CALL NOW") */
.home-placement__cta {
  text-align: left;
}

.home-placement__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.8rem;
  border-radius: 999px;
  background: #ef202d;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(239, 32, 45, 0.5);
  transition: background 0.16s ease-out, box-shadow 0.16s ease-out,
    transform 0.12s ease-out;
}

.home-placement__button:hover,
.home-placement__button:focus-visible {
  background: #cf1b26;
  box-shadow: 0 20px 52px rgba(239, 32, 45, 0.7);
  transform: translateY(-1px);
}

/* Layout – side-by-side on wider screens */
@media (min-width: 900px) {
  .home-placement {
    flex-direction: row;
    align-items: stretch;
    gap: 2.5rem;
  }

  .home-placement__media,
  .home-placement__panel {
    flex: 1;
  }

  .home-placement__panel {
    padding: 2.5rem 2.5rem 3rem;
  }

  .home-placement__lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .home-placement__title {
    font-size: 2rem;
  }
}

/* =========================================
   BENEFITS SECTION – "IS TRUCKING FOR YOU?"
   ========================================= */

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

.home-benefits__header {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

.home-benefits__title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ef202d;
  margin-bottom: 0.75rem;
}

.home-benefits__lead {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
}

/* Grid of cards */
.home-benefits__grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.home-benefits__card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.25rem 1.75rem 2.1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}

/* Icon circle at top of each card */
.home-benefits__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 2px solid #ef202d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #ef202d;
}

/* If you later swap to SVGs, just remove the text and keep the circle styles */

.home-benefits__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ef202d;
  margin-bottom: 0.75rem;
}

.home-benefits__card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4b5563;
}

/* Responsive layout */
@media (min-width: 768px) {
  .home-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-benefits__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-benefits__card {
    padding-inline: 1.9rem;
  }
}

/* =========================================
   SECURE YOUR FUTURE IN TRUCKING
   ========================================= */

.home-secure {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

/* Left panel (text) */
.home-secure__panel {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
  border-right: 5px solid #ef202d;
}

.home-secure__title {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #111827;
}

.home-secure__title span {
  color: #ef202d;
}

.home-secure__text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 2rem;
}

/* Red pill button (matches other CTAs) */
.home-secure__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.6rem;
  border-radius: 999px;
  background: #ef202d;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(239, 32, 45, 0.5);
  transition: background 0.18s ease-out, box-shadow 0.18s ease-out,
    transform 0.12s ease-out;
}

.home-secure__button:hover,
.home-secure__button:focus-visible {
  background: #cf1b26;
  box-shadow: 0 20px 50px rgba(239, 32, 45, 0.65);
  transform: translateY(-1px);
}

/* Right image */
.home-secure__media picture,
.home-secure__media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
}

/* Layout on larger screens */
@media (min-width: 960px) {
  .home-secure {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  }

  .home-secure__panel {
    padding: 2.75rem 2.5rem;
  }

  .home-secure__title {
    font-size: 2.1rem;
  }
}

/* =========================================
   BEST TRUCKING CLASSES SECTION (FIXED)
   ========================================= */

.home-classes {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

/* Background image wrapper */
.home-classes__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Make the image COVER the entire section */
.home-classes__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay */
.home-classes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.home-classes__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 3rem 1.5rem;
}

.home-classes__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.home-classes__text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.home-classes__button {
  display: inline-block;
  background: #ef202d;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-classes__button:hover {
  background: #d61b26;
  transform: translateY(-2px);
}

/* =========================================
   FINANCING – CLIMB CREDIT CARD
   ========================================= */

.home-financing {
  margin-top: 2.5rem;
}

.home-financing__card {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.home-financing__logo img {
  display: block;
  margin: 0 auto 1.5rem;
  max-height: 72px;
  width: auto;
}

.home-financing__title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f2933;
}

.home-financing__intro {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
}

.home-financing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #4b5563;
}

.home-financing__list li + li {
  margin-top: 0.4rem;
}

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

.home-financing__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.8rem;
  border-radius: 999px;
  background-color: #ef202d;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(239, 32, 45, 0.45);
  transition: background-color 0.18s ease-out, box-shadow 0.18s ease-out,
    transform 0.12s ease-out;
}

.home-financing__button:hover,
.home-financing__button:focus-visible {
  background-color: #cf1b26;
  box-shadow: 0 20px 50px rgba(239, 32, 45, 0.6);
  transform: translateY(-1px);
}

/* =========================================
   OTHER PROGRAMS SECTION
   ========================================= */

.home-other-programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 3rem;
}

@media (min-width: 1100px) {
  .home-other-programs {
    grid-template-columns: 1fr 1fr;
  }
}

.home-other__content {
  padding-right: 2rem;
}

.home-other__title {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #ef202d;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.home-other__intro {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  color: #333;
}

.home-other__lists {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.2rem;
}

.home-other__lists ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-other__lists li {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.home-other__button {
  display: inline-flex;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  background-color: #ef202d;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 16px 40px rgba(239, 32, 45, 0.45);
  transition: 0.18s ease;
}

.home-other__button:hover {
  background: #c91822;
  transform: translateY(-2px);
}

.home-other__media picture,
.home-other__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

/* =========================================
   TESTIMONIALS – SLIDER OVER BACKGROUND
   ========================================= */

.home-testimonials {
  position: relative;
  margin-top: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 380px;
  color: #ffffff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.35);
}

/* Background image layer */
.home-testimonials__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-testimonials__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay on top of image */
.home-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.65) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

/* Inner content wrapper */
.home-testimonials__overlay {
  position: relative;
  z-index: 2;
  padding: 3rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Heading */
.home-testimonials__title {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: #ffffff;
  text-shadow: -3px 0 4px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* Card that sits over the road */
.home-testimonials__card {
  max-width: 960px;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 1.2rem;
  padding: 2.4rem 2rem 2.2rem;
}

/* Slides container */
.home-testimonials__slides {
  position: relative;
}

/* Individual slide */
.home-testimonials__slide {
  display: none;
  margin: 0;
}

.home-testimonials__slide.is-active {
  display: block;
}

/* Text styling */
.home-testimonials__slide blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
}

.home-testimonials__slide figcaption {
  margin-top: 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Arrows */
.home-testimonials__controls {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.home-testimonials__arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease-out, transform 0.12s ease-out;
}

.home-testimonials__arrow:hover,
.home-testimonials__arrow:focus-visible {
  background: #ef202d;
  transform: translateY(-1px);
}

/* Dots */
.home-testimonials__dots {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.home-testimonials__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease-out, transform 0.12s ease-out;
}

.home-testimonials__dot.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

/* FIX: Prevent testimonial slider height from jumping */
.home-testimonials__card {
  min-height: 260px; /* adjust if needed */
  display: flex;
  flex-direction: column;
  justify-content: center; /* keeps text centered vertically */
}

.home-testimonials__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.home-testimonials__slide.is-active {
  opacity: 1;
}

.home-testimonials__slides {
  position: relative;
  min-height: 260px; /* ensures stable height */
}

/* TESTIMONIALS – background image should cover the whole band */
.home-testimonials {
  position: relative;
  padding: 3.5rem 1.5rem 4rem;
  color: #ffffff;
  overflow: hidden;
  border-radius: 1.75rem;
}

/* Background image wrapper */
.home-testimonials__media {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  z-index: 0;
}

/* Make the picture + img fill the wrapper */
.home-testimonials__media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.home-testimonials__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Responsive tweaks */
@media (min-width: 900px) {
  .home-testimonials__overlay {
    padding: 3.5rem 3rem;
  }

  .home-testimonials__card {
    padding: 2.6rem 3rem 2.4rem;
  }

  .home-testimonials__slide blockquote {
    font-size: 1.05rem;
  }
}

/* =========================================
   ELDT / FMCSA REQUIREMENTS SECTION
   ========================================= */

.home-eldt {
  position: relative;
  margin-top: 3rem;
  border-radius: 1.8rem;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.4);
}

/* Background image */
.home-eldt__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-eldt__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay with slight vignette */
.home-eldt__overlay {
  position: relative;
  z-index: 1;
  background: radial-gradient(
      circle at 10% 0%,
      rgba(255, 255, 255, 0.15),
      transparent 55%
    ),
    linear-gradient(to bottom right, rgba(5, 8, 20, 0.9), rgba(5, 8, 20, 0.95));
}

/* Two-column inner layout */
.home-eldt__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.75rem 3.25rem;
  display: grid;
  gap: 2rem;
}

/* On desktop, keep text on left and blank space on right like original */
@media (min-width: 960px) {
  .home-eldt__inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.home-eldt__content {
  text-align: left;
}

/* Eyebrow line */
.home-eldt__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  opacity: 0.9;
}

/* Heading */
.home-eldt__title {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
}

/* Divider line */
.home-eldt__divider {
  border: 0;
  border-top: 2px solid rgba(249, 250, 251, 0.75);
  width: 80px;
  margin: 0 0 1.25rem;
}

/* Body copy + lists */
.home-eldt__copy {
  font-size: 0.96rem;
  line-height: 1.6;
}

.home-eldt__copy p {
  margin: 0 0 0.6rem;
}

.home-eldt__copy ul {
  margin: 0 0 1rem 1.2rem;
}

.home-eldt__copy li {
  margin-bottom: 0.35rem;
}

/* Hide the spacer column on small screens */
.home-eldt__spacer {
  display: none;
}

@media (min-width: 960px) {
  .home-eldt__spacer {
    display: block;
  }
}
/* =========================================
   FAQ SECTION
   ========================================= */

.home-faq {
  max-width: 900px;
  margin: 3rem auto 0;
}

.home-faq__header {
  text-align: center;
  margin-bottom: 2rem;
}

.home-faq__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.home-faq__title {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111827;
  margin-bottom: 0.6rem;
}

.home-faq__intro {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 32rem;
  margin: 0 auto;
}

.home-faq__list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

/* Accordion items */

.home-faq__item {
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  padding: 1rem 1.25rem;
}

/* remove default marker / spacing on summary */
.home-faq__item > summary {
  list-style: none;
}

.home-faq__item > summary::-webkit-details-marker {
  display: none;
}

.home-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
}

.home-faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ef202d;
  transition: transform 0.18s ease-out;
}

.home-faq__item[open] .home-faq__question::after {
  transform: rotate(45deg);
}

.home-faq__answer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4b5563;
}

.home-faq__answer p {
  margin: 0 0 0.75rem;
}

.home-faq__answer ul {
  margin: 0 0 0.75rem 1.1rem;
  padding: 0;
}

.home-faq__answer li + li {
  margin-top: 0.25rem;
}
/* =========================================
   CONTACT SECTION – CLEAN LAYOUT
   ========================================= */

.contact-section {
  margin-top: 3rem;
}

.contact-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: flex-start;
  }
}

.contact-form-col {
  text-align: left;
}

.contact-title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ef202d;
}

.contact-intro {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4b5563;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .contact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-row--full {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #111827;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field input[type="tel"],
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  font-size: 0.98rem;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-actions {
  margin-top: 0.5rem;
}

.contact-submit {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.8rem;
  background: #ef202d;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(239, 32, 45, 0.45);
  transition: background 0.18s ease-out, transform 0.12s ease-out,
    box-shadow 0.18s ease-out;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #cf1b26;
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(239, 32, 45, 0.6);
}

/* Map column basic sizing */
.contact-map-col {
  min-height: 260px;
}

.contact-map-col .mapContainer {
  border-radius: 1rem;
  overflow: hidden;
}
