/* ===== NEW DYNAMIC INFLUENCER SLIDER ===== */

/* Main Section */
.premium-celebrity-section {
  padding: 15px 0 !important;
  background: transparent !important;
  position: relative;
  overflow: visible; /* Allow hover effects to extend */
}

/* Section Header - Make heading and sub-heading same size */
.category-section .heading_title h4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6100;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.category-section .col-lg-12 h2 {
  color: #333;
  font-weight: 700;
  line-height: 1.4;
  margin: 10px 0 20px 0; /* Reduced bottom margin */
  font-size: 2.5rem; /* Same size as heading */
  font-family: 'Inter', sans-serif;
}

/* Reduce space between heading and slider */
.category-section .row.align-items-center {
  margin-bottom: 20px !important; /* Reduced from default */
}

.category-section .btn-allview {
  color: #8b4513;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.category-section .btn-allview:hover {
  color: #ff6100;
  text-decoration: none;
}

/* Slider Container - Full Width */
.influencer-slider-container {
  width: 100%;
  position: relative;
  padding: 0;
  margin: 0;
}

.influencer-slider-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 10px 80px; /* Reduced top padding, space for arrows */
}

/* Slider Track */
.influencer-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 20px;
  padding: 10px 0; /* Reduced padding */
}

/* Individual Influencer Card */
.influencer-card {
  flex: 0 0 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.08); /* Light border */
  box-shadow: none; /* Remove default shadow */
  margin-bottom: 20px; /* Space for hover effect */
}

.influencer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #ff6100, #ff8330);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 3;
}

.influencer-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.12); /* Slightly darker border on hover */
}

.influencer-card:hover::before {
  transform: scaleX(1);
}

/* Image Wrapper */
.influencer-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.influencer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(1) contrast(1.05);
}

.influencer-card:hover .influencer-image {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.1);
}

/* Price Badge */
.influencer-price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(to right, #ff6100, #ff8330);
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 97, 0, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.influencer-card:hover .influencer-price-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 97, 0, 0.4);
}

/* Discount Badge */
.influencer-discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.influencer-card:hover .influencer-discount-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Card Content */
.influencer-card-content {
  padding: 25px;
  text-align: center;
}

.influencer-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 8px 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
}

.influencer-category {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 20px 0;
  font-weight: 400;
  line-height: 1.4;
}

/* Book Now Button */
.influencer-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(to right, #ff6100, #ff8330);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
}

.influencer-book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.influencer-book-btn:hover::before {
  left: 100%;
}

.influencer-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 97, 0, 0.4);
  color: white;
  text-decoration: none;
}

.influencer-book-btn svg {
  transition: transform 0.3s ease;
}

.influencer-book-btn:hover svg {
  transform: translateX(4px);
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
  background: linear-gradient(to right, #ff6100, #ff8330);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
  left: 10px; /* Positioned within the wrapper padding */
}

.next-arrow {
  right: 10px; /* Positioned within the wrapper padding */
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
}

/* Slider Dots */
.influencer-slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  padding: 20px 0; /* Add padding to prevent cutting */
  position: relative;
  z-index: 10;
}

.influencer-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 97, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.influencer-slider-dot.active {
  background: linear-gradient(to right, #ff6100, #ff8330);
  transform: scale(1.3);
}

.influencer-slider-dot:hover {
  background: linear-gradient(to right, #ff6100, #ff8330);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1600px) {
  .influencer-slider-wrapper {
    max-width: 1400px;
    padding: 0 70px;
  }
  
  .influencer-card {
    flex: 0 0 300px;
  }
}

@media (max-width: 1400px) {
  .influencer-slider-wrapper {
    max-width: 1200px;
    padding: 0 60px;
  }
  
  .influencer-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 1200px) {
  .influencer-slider-wrapper {
    max-width: 1000px;
    padding: 0 50px;
  }
  
  .influencer-card {
    flex: 0 0 260px;
  }
  
  .category-section .heading_title h4,
  .category-section .col-lg-12 h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .influencer-slider-wrapper {
    max-width: 800px;
    padding: 0 40px;
  }
  
  .influencer-card {
    flex: 0 0 240px;
  }
  
  .category-section .heading_title h4,
  .category-section .col-lg-12 h2 {
    font-size: 2rem;
  }
  
  .slider-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .premium-celebrity-section {
    padding: 60px 0 !important;
  }
  
  .category-section .heading_title h4,
  .category-section .col-lg-12 h2 {
    font-size: 1.8rem;
  }
  
  .influencer-slider-wrapper {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .influencer-card {
    flex: 0 0 280px;
  }
  
  .influencer-image-wrapper {
    height: 350px;
  }
  
  .influencer-card-content {
    padding: 20px;
  }
  
  .influencer-name {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .category-section .heading_title h4,
  .category-section .col-lg-12 h2 {
    font-size: 1.5rem;
  }
  
  .influencer-image-wrapper {
    height: 320px;
  }
  
  .influencer-card-content {
    padding: 18px;
  }
  
  .influencer-book-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .influencer-image-wrapper {
    height: 280px;
  }
  
  .influencer-card-content {
    padding: 15px;
  }
  
  .influencer-name {
    font-size: 1.2rem;
  }
}

/* Play Button for Sample Videos */
.influencer-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.influencer-play-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #fff;
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #ff6100;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.influencer-play-button a:hover {
  background: #ff6100;
  color: white;
  transform: scale(1.1);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 97, 0, 0.4);
}

.influencer-play-button i {
  font-size: 20px;
  margin-left: 3px; /* Adjust play icon position */
  color: #ff6100;
  transition: color 0.3s ease;
}

.influencer-play-button a:hover i {
  color: white;
}

/* Additional overrides to ensure play button works correctly */
.influencer-card .influencer-play-button a {
  background: #fff !important;
  color: #ff6100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.influencer-card .influencer-play-button a:hover {
  background: #ff6100 !important;
  color: white !important;
  transform: scale(1.1) !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(255, 97, 0, 0.4) !important;
}

.influencer-card .influencer-play-button i {
  font-size: 20px !important;
  margin-left: 3px !important;
  color: #ff6100 !important;
  transition: color 0.3s ease !important;
  display: block !important;
  line-height: 1 !important;
}

.influencer-card .influencer-play-button a:hover i {
  color: white !important;
}

/* Override for recruit-video class specifically */
.influencer-play-button .recruit-video {
  background: #fff !important;
  color: #ff6100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}

.influencer-play-button .recruit-video:hover {
  background: #ff6100 !important;
  color: white !important;
  transform: scale(1.1) !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(255, 97, 0, 0.4) !important;
}

.influencer-play-button .recruit-video i {
  font-size: 20px !important;
  margin-left: 3px !important;
  color: #ff6100 !important;
  transition: color 0.3s ease !important;
  display: block !important;
  line-height: 1 !important;
}

.influencer-play-button .recruit-video:hover i {
  color: white !important;
}

/* Hide old celebrity cards */
.category_celebrities {
  display: none !important;
}

.premium-celebrity-cards {
  display: none !important;
}

.celebrity-cards-grid {
  display: none !important;
}

/* Ensure container doesn't interfere */
.premium-celebrity-section .container-fluid {
  max-width: 100% !important;
  padding: 0 !important;
}