.cars3 {
  background: #0b0b0b;
  padding: 60px 0;
}

.cars3 .row > div {
  margin-bottom: 30px;
}
.cars3 .item {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.cars3 .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.06);
}

.cars3 .item::before {
  /* content: ""; */
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background: #0b0b0b;
  border-bottom-right-radius: 50px;
  z-index: 4;
}

.cars3 .project-date {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 5;
}

.cars3 .project-date .year {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.cars3 .project-date .year span {
  font-size: 12px;
  opacity: 0.7;
}

.cars3 .item .img {
  display: block;
  overflow: hidden;
  border-radius: 30px;
}

.cars3 .item .img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: 100%;
  transition: transform 0.8s ease;
}

.cars3 .item:hover .img img {
  transform: scale(1.05);
}

.cars3 .bottom-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.4) 20%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  transition: opacity 0.3s ease;
  /* display: none; */
}

.cars3 .item:hover .bottom-fade {
  opacity: 1;
}

.cars3 .item .arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  z-index: 5;
}

.cars3 .item:hover .arrow {
  background: #fff;
  color: #000;
  transform: rotate(-45deg);
}

.cars3 .info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  z-index: 5;
}

.cars3 .title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.cars3 .title a:hover {
  opacity: 0.8;
}

.cars3 .details {
  margin-top: 8px;
  font-size: 14px;
  color: #ccc;
}

.cars3 .details span {
  margin-right: 15px;
}

.cars3 .details i {
  margin-right: 5px;
  color: #fff;
}

@media (max-width: 992px) {
  .cars3 .item .img img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }
}

.fleet-cta {
  margin-top: 20px;
}

.fleet-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  border-radius: 40px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #000;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.fleet-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 0;
}

.fleet-btn span,
.fleet-btn {
  position: relative;
  z-index: 1;
}

.fleet-btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.fleet-btn:hover::before {
  transform: scaleX(1);
}

.fleet-btn:hover {
  background: transparent;
  color: #fff;
}

.fleet-btn:hover .fleet-btn-icon {
  background: #000;
  color: #fff;
  transform: translateX(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
