/* Premium Carousel Sections Styles */

.carousel-section {
  padding: 80px 0;
  background: #f8f9fa;
  overflow: hidden;
}

.carousel-section.products-carousel-bg {
  background: #ffffff;
}

.carousel-section.services-carousel-bg {
  background: #f8fafc;
}

.carousel-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.swiper-container-wrapper {
  position: relative;
  padding: 20px 0 40px 0;
}

/* Custom Swiper Styles */
.swiper-button-next,
.swiper-button-prev {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #FF6B00;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #FF6B00;
  color: #ffffff;
  border-color: #FF6B00;
  transform: scale(1.05);
}

.swiper-pagination-bullet-active {
  background: #FF6B00 !important;
}

/* Premium Card Styles */
.carousel-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.2);
}

.carousel-card-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.carousel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card:hover .carousel-card-img {
  transform: scale(1.08);
}

.carousel-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.carousel-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.carousel-card:hover .carousel-card-title {
  color: #FF6B00;
}

.carousel-card-text {
  font-size: 0.925rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.8em; /* Fallback for older browsers */
}

.carousel-card-btn-wrapper {
  margin-top: auto;
}

.carousel-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FF6B00;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.carousel-card:hover .carousel-card-btn {
  color: #e65c00;
  gap: 12px;
}

/* Full Width Hero Slider Styles */
.hero-slider-section {
  width: 100%;
  background: #000;
}

.hero-slider-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-slider-wrapper {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 15px;
  margin-bottom: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
  .hero-slider-wrapper {
    height: 400px;
  }
  .carousel-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .hero-slider-wrapper {
    height: 320px;
  }
  .carousel-section {
    padding: 50px 0;
  }
}

@media (max-width: 576px) {
  .hero-slider-wrapper {
    height: 250px;
  }
}
