.av-mounts-carousel-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.av-carousel-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.av-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  overflow: hidden;
}

.av-carousel-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.av-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.av-carousel-slide {
 flex-shrink: 0; 
  width: 100%;  
  height: 100%; 
  position: relative;
}

.av-slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.av-slide-image {
  width: 100%;  /* Ensure image takes up full width */
  height: 100%; /* Ensure image takes up full height */
  object-fit: cover; /* Ensures the image covers the area without stretching */
  object-position: center; /* Center the image */
  transition: transform 0.6s ease;
}

.av-carousel-slide:hover .av-slide-image {
  transform: scale(1.05); /* Zoom effect on hover */
}

.av-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 3rem 2rem 2rem;
  color: white;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.av-slide-text {
  max-width: 600px;
}

.av-slide-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.av-slide-description {
  font-size: 1.8rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Navigation Buttons */
.av-carousel-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
  pointer-events: none;
  z-index: 10;
}

.av-carousel-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.av-carousel-button:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.av-carousel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.av-carousel-arrow {
  width: 24px;
  height: 24px;
}

/* Carousel Indicators */
.av-carousel-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.av-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.av-carousel-indicator.active {
  background: white;
  border-color: white;
  transform: scale(1.2);
}

.av-carousel-indicator:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.7);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet Styles */
@media (max-width: 1024px) {
  .av-carousel-wrapper {
    height: 400px;
  }

  .av-slide-overlay {
    padding: 2rem 1.5rem 1.5rem;
  }

  .av-slide-title {
    font-size: 1.75rem;
  }

  .av-slide-description {
    font-size: 1rem;
  }

  .av-carousel-button {
    width: 45px;
    height: 45px;
  }

  .av-carousel-arrow {
    width: 20px;
    height: 20px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {

  .av-carousel-wrapper {
    height: 350px;
  }

  .av-slide-overlay {
    padding: 1.5rem 1rem 1rem;
  }

  .av-slide-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  .av-slide-description {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .av-carousel-button {
    width: 40px;
    height: 40px;
  }

  .av-carousel-arrow {
    width: 18px;
    height: 18px;
  }

  .av-carousel-indicators {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .av-carousel-indicator {
    width: 10px;
    height: 10px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .av-carousel-wrapper {
    height: 300px;
  }

  .av-slide-title {
    font-size: 2rem;
  }

  .av-slide-description {
    font-size: 1.6rem;
  }

  .av-carousel-navigation {
    padding: 0 0.5rem;
  }

  .av-carousel-button {
    width: 36px;
    height: 36px;
  }

  .av-carousel-arrow {
    width: 16px;
    height: 16px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .av-carousel-slide,
  .av-carousel-track,
  .av-slide-image,
  .av-carousel-button,
  .av-carousel-indicator {
    transition: none !important;
  }
}
