/* Our Fleet Section Styles */
#Our-Fleet {
  padding: 80px 20px;
  background: whitesmoke;
  position: relative;
}

.fleet-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.fleet-title {
  font-family: "Lobster", sans-serif;
  color: #0A2463;
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.fleet-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #0A2463, #FFD166);
  border-radius: 2px;
}

.fleet-subtitle {
  color: #4D648D;
  font-size: 1.2rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.car-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(10, 36, 99, 0.15);
  background: white;
  padding: 20px;
}

.carousel-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.car-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.car-slide.active {
  opacity: 1;
  position: relative;
}

.car-image {
  width: 100%;
  max-width: 600px;
  margin-bottom: 25px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.car-slide.active .car-image {
  transform: translateY(0) scale(1);
  animation: carImageAppear 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes carImageAppear {
  0% {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.car-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.car-image:hover img {
  transform: scale(1.03);
}

.car-details {
  max-width: 600px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.3s;
}

.car-slide.active .car-details {
  opacity: 1;
  transform: translateY(0);
}

.car-details h3 {
  color: #0A2463;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.car-features {
  color: #FFD166;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
  background: rgba(10, 36, 99, 0.05);
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
}

.car-desc {
  color: #4D648D;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 20px;
}

.car-price {
  color: #0A2463;
  font-weight: 700;
  font-size: 1.3rem;
  background: rgba(255, 209, 102, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 10px;
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background-color: #0A2463;
  color: white;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
  opacity: 0.9;
}

.carousel-btn:hover {
  background-color: #FFD166;
  color: #0A2463;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-btn {
  left: 20px;
  animation: fadeInLeft 0.5s ease;
}

.next-btn {
  right: 20px;
  animation: fadeInRight 0.5s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate(-20px, -50%);
  }
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate(20px, -50%);
  }
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 12px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.dot::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.dot:hover::after {
  border: 2px solid rgba(10, 36, 99, 0.2);
}

.dot.active {
  background-color: #0A2463;
  transform: scale(1.2);
}

.dot.active::after {
  border: 2px solid rgba(10, 36, 99, 0.3);
}

.fleet-cta {
  margin-top: 40px;
}

.cta-btn {
  background: linear-gradient(to right, #0A2463, #1E40AF);
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 36, 99, 0.4);
  background: linear-gradient(to right, #1E40AF, #0A2463);
  color: #FFD166;
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(10, 36, 99, 0.3);
}

/* Slide animations */
@keyframes slideInNext {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInPrev {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-next {
  animation: slideInNext 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.slide-prev {
  animation: slideInPrev 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Responsive Styles */
@media screen and (max-width: 900px) {
  .fleet-title {
    font-size: 2.3rem;
  }
  
  .car-details h3 {
    font-size: 1.6rem;
  }
  
  .car-features {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  #Our-Fleet {
    padding: 60px 15px;
  }
  
  .fleet-title {
    font-size: 2rem;
  }
  
  .fleet-subtitle {
    font-size: 1rem;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .car-details h3 {
    font-size: 1.5rem;
  }
  
  .car-details {
    padding: 0 15px;
  }
  
  .car-price {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .fleet-title {
    font-size: 1.8rem;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .car-features {
    font-size: 0.9rem;
  }
  
  .cta-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}