/* Hero Slider 1 Component Styles */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  background: #F6F6F7;
  min-height: 100vh;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(100%);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.hero-slide.prev {
  transform: translateX(-100%);
}

/* Content Column */
.hero-content-col {
  padding: 30px;
  display: flex;
  align-items: center;
  /* min-height: 100vh; */
}

.hero-content-wrapper {
  max-width: 500px;
  animation: slideInLeft 1s ease-out 0.3s both;
}

.hero-slide.active .hero-content-wrapper {
  animation: slideInLeft 1s ease-out 0.3s both;
}

/* Offer Badge */
.hero-offer-badge {
  display: inline-block;
  background: #DADADD;
  color: #0A0A0A;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-offer-badge1 {
  display: inline-block;
  background: #0A0A0A;
  color: #fff;
  padding: 3px 10px;
  border-radius: 25px;
  font-size: 13px;
  margin-left: 5px;
  font-weight: 400;
}

/* Heading */
.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: #111;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

/* Content */
.hero-content {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 35px;
  font-weight: 400;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 0;
  /* Square/Minimalist buttons for Be Bold style */
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
}

.hero-btn-primary {
  background: #111;
  color: white;
}

.hero-btn-primary:hover {
  background: #d2a679;
  color: white;
  text-decoration: none;
  transform: none;
}

.hero-btn-secondary {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}

.hero-btn-secondary:hover {
  background: #111;
  color: #fff;
  text-decoration: none;
  transform: none;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.7rem;
  font-weight: 400;
  color: #0A0A0A;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: #818BA0;
  text-transform: capitalize;
  margin-top: 5px;
}

/* Image Column */
.hero-image-col {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-image-wrapper {
  position: relative;
  max-width: 600px;
  width: 100%;
  animation: slideInRight 1s ease-out 0.5s both;
}

.hero-slide.active .hero-image-wrapper {
  animation: slideInRight 1s ease-out 0.5s both;
}

.hero-main-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

/* Image Overlay */
.hero-image-overlay {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  margin: 0 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overlay-left {
  flex: 1;
}

.overlay-title {
  font-size: 14px;
  color: #818BA0;
  margin-bottom: 5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.overlay-product-name {
  font-size: 18px;
  color: #0A0A0A;
  font-weight: 600;
  line-height: 1.3;
}

.overlay-btn {
  display: inline-block;
  background: #0A0A0A;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.overlay-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

/* Slider Indicators */
.hero-slider-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-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;
}

.slider-indicator.active {
  background: white;
  border-color: white;
  transform: scale(1.2);
}

.slider-indicator:hover {
  border-color: white;
  transform: scale(1.1);
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-heading {
    font-size: 3rem;
  }

  .hero-content-col,
  .hero-image-col {
    padding: 40px 30px;
  }
}

@media (max-width: 992px) {
  .hero-slide .row {
    flex-direction: column-reverse;
  }

  .hero-content-col,
  .hero-image-col {
    min-height: auto;
    padding: 30px 20px;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-content {
    font-size: 1.1rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-overlay {
    position: static;
    margin-top: 20px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    min-height: auto;
  }

  .hero-content-col,
  .hero-image-col {
    padding: 20px 15px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-content {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-slider-indicators {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-offer-badge {
    font-size: 12px;
    padding: 6px 15px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .hero-image-overlay {
    padding: 20px;
  }
}

/* Fix Select2 dropdown positioning in hero_slider_1 modals */
.modal .select2-container {
  z-index: 9999 !important;
}

.modal .select2-container--open {
  z-index: 9999 !important;
}

.modal .select2-dropdown {
  z-index: 10060 !important;
  pointer-events: auto !important;
  position: absolute !important;
}

.modal .select2-results {
  pointer-events: auto !important;
}

.modal .select2-results__option {
  cursor: pointer !important;
  pointer-events: auto !important;
  user-select: none;
}

.modal .select2-results__option--highlighted {
  cursor: pointer !important;
  pointer-events: auto !important;
  background-color: #5897fb !important;
  color: white !important;
}

/* Ensure Select2 search input is visible and functional */
.modal .select2-search--dropdown {
  padding: 4px;
}

.modal .select2-search__field {
  width: 100% !important;
  padding: 4px 8px !important;
  border: 1px solid #aaa !important;
}

/* Make sure the dropdown appears below the select */
.modal .select2-container--default .select2-selection--single {
  position: relative !important;
}

/* Specific fix for hero slider product dropdowns */
select[id^="builderProdHeroSlide"]+.select2-container {
  width: 100% !important;
}

select[id^="builderProdHeroSlide"]+.select2-container .select2-dropdown {
  width: 100% !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
}