/* Section */
.car-series {
  padding: var(--section-padding-y) 0;
  /* background: #f5f7fa; */
  text-align: center;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: auto;
}

/* Header */
.car-series__eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 10px;
}

.car-series__title {
  font-size: 42px;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

/* Grid */
.car-series__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Card */
.car-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Image */
.car-card__image {
  overflow: hidden;
  z-index: 1;
  position: relative;
  /* aspect-ratio: 1/1; */
}

.car-card__image::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 0%) 40%, rgb(0 0 0 / 12%) 70%, rgba(0, 0, 0, 0.9) 100%); */
  background: linear-gradient(to bottom, rgb(0 0 0 / 10%) 0%, rgb(0 0 0 / 20%) 40%, rgb(0 0 0 / 30%) 70%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
}

.car-card__image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Zoom Out Effect */
.car-card:hover img {
  transform: scale(1.1);
}

/* Content */
.car-card__content {
  padding: 20px;
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.car-card__sub {
  font-size: 13px;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.car-card__sub p {
  margin: 0;
}

.car-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}


.section__tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  color: #000;
}

.section__tagline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  flex-shrink: 0;
}

.section__tagline-icon * {
  fill: #000;
}

.section__tagline-icon .st0 {
  fill: transparent;
}

.hero-slider__tagline-svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* Responsive */
@media (max-width: 992px) {
  .car-series__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .car-card__image img {
    height: 260px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .car-series__grid {
    grid-template-columns: 1fr;
  }

  .car-card__image img {
    height: 240px;
  }

  .car-series__title {
    font-size: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.work-section {
  /* padding: 90px 0; */
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  /* background: #f3f5f8; */
  background: #fff;
  text-align: center;
}

.work-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  color: #666;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.work-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #111827;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.work-card {
  padding: 20px;
}

.work-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: #e9edf3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.work-icon svg {
  width: 40px;
  height: 40px;
  fill: #111827;
}

.work-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
  z-index: 2;
  position: relative;

}

.work-card p {
  /* font-size: 14px; */
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0;
  z-index: 2;
  position: relative;
}

/* Hover Effect */
.work-card:hover .work-icon {
  background: #111827;
}

.work-card:hover .work-icon svg {
  fill: #fff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .work-card {
    padding: 0px;
  }

  .work-card h3 {
    font-size: 18px;
  }

  .work-card p {
    font-size: 14px;
  }

  .work-grid {
    column-gap: 15px;
    row-gap: 25px;
  }
}


.journey-section {
  padding: 20px 0;
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  /* background: #f5f6f8; */
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.journey-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  margin-bottom: 10px;
}

.journey-header {
  margin-bottom: 60px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.journey-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

.journey-wrapper {
  position: relative;
}

/* Left Car Image */
.journey-car {
  position: absolute;
  left: 0;
  bottom: -10px;
  max-width: 350px;
  z-index: 1;
}

.journey-car.two {
  left: inherit;
  right: 0;
  bottom: -10px;
  max-width: 350px;
  z-index: 1;
  transform: scaleX(-1);
}

/* Counter Box */
.journey-counter-box {
  background: linear-gradient(135deg, #4f6df5, #5a7bff);
  border-radius: 15px;
  padding: 60px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  color: #fff;
  position: relative;
  z-index: 2;
  /* max-width: 820px; */
  margin: auto;
}

.counter-item h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.counter-item p {
  font-size: 14px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
  .journey-counter-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-car {
    display: none;
  }
}

@media (max-width: 600px) {
  .journey-counter-box {
    grid-template-columns: 1fr;
  }

  .journey-title {
    font-size: 30px;
  }
}

.journey-counter-box {
  position: relative;
  border-radius: 15px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  color: #fff;
  overflow: hidden;
}

/* Background Image */
.journey-counter-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://carvan.wpengine.com/wp-content/uploads/2024/11/h2-Counter-bgimg.jpg") center/cover no-repeat;
  z-index: 1;
}

/* Blue Overlay */
.journey-counter-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(40, 70, 255, 0.85), rgba(60, 90, 255, 0.85));
  z-index: 2;
}

/* Content above overlay */
.counter-item {
  position: relative;
  z-index: 3;
  padding: 20px;
  text-align: center;
}

.counter-item h3 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.counter-item p {
  font-size: 14px;
  color: #fff;
  opacity: 0.9;
}

.counter-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
  .journey-counter-box {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Remove right border */
  .counter-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  /* Remove bottom border from last row */
  .counter-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 992px) {

  .counter-item:nth-child(2) {
    border-right: none !important;
  }

  .counter-item p {
    font-size: 13px;
  }

  .journey-counter-box {
    padding: 35px 20px;
  }
}