/* Container Base Styles */
.layer-motion-container {
  position: relative;
  width: 100%;
  height: 960px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

#heroMain.layer-motion-container {
  height: 90vh;
  min-height: 1080px;
}

/* Slide Slideshow Base */
.slide-slider {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide-slider.active {
  opacity: 1;
  z-index: 2;
}

.slide-slider img,
.slide-slider video,
.slide-slider iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Semi-transparent Overlay */
.overlay-slider {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 25, 0.65);
  z-index: 1;
  pointer-events: none;
}

/* Dynamic Layer Elements Base */
.layer-slider {
  position: absolute;
  color: #fff;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 3;
  white-space: nowrap;
}

.layer-slider.show {
  opacity: 1;
  transform: translate(0, 0) !important;
}

.left-slider { transform: translateX(-80px); }
.right-slider { transform: translateX(80px); }

/* Layer Typography & Containers */
.title-slider,
.subtitle-slider,
.desc-slider,
.desc-slider-1,
.desc-slider-2 {
  max-width: 456px;
  white-space: normal; /* Allows text to wrap into multiple lines */
  box-sizing: border-box; /* Includes padding within the 456px limit */
  overflow-wrap: break-word; /* Prevents long single words from breaking layout */
}

.title-slider {
  font-size: 42px;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 51px;
}

.subtitle-slider {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  color: #FF4000;
  padding: 6px 14px;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  line-height: 28px;  
}

.desc-slider {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  color: #6A1B9A;
  padding: 6px 14px;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  line-height: 28px;  
}

.desc-slider-1 {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  color: #0057D9;
  padding: 6px 14px;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  line-height: 28px;  
}

.desc-slider-2 {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  color: #007C91;
  padding: 6px 14px;
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  line-height: 28px;  
}

/* Base Button Style (Unified) */
.btn-slider,
.btn-slider-1,
.btn-slider-2,
.btn-slider-3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* Hover effect applied to all button types */
.btn-slider:hover,
.btn-slider-1:hover,
.btn-slider-2:hover,
.btn-slider-3:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Button Color Theme Variants */
.btn-slider-1,
.main-primary {
  background-color: #D90065;
  color: #ffffff;
}

.btn-slider-2,
.main-secondary {
  background-color: #1F0954;
  color: #ffffff;
}

.btn-slider-3,
.main-whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

/* Side-by-side Button Group Container */
.btn-group-layer {
  display: flex;
  gap: 12px; /* Spacing between side-by-side buttons */
  align-items: center;
  flex-wrap: wrap; /* Wraps gracefully on smaller screens */
  white-space: normal;
}

/* Navigation Buttons */
.nav-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-slider:hover {
  background: rgba(217, 0, 101, 0.8);
}

.prev-slider { left: 15px; }
.next-slider { right: 15px; }

/* Article Track Sync Styles */
.article-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0px auto;
  overflow: hidden;
  background: #f8f9fa;
  border-top: 0px solid #1F0954;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.article-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 30px 40px;
  color: #333;
}

.article-slide h2 {
  font-size: 24px;
  color: #1F0954;
  margin-bottom: 12px;
}

.article-slide p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}