/**
 * ============================================================
 * HOMEPAGE HERO COMPONENT STYLES
 * Target: 233 Lines
 * Smoothing Fix: will-change and translate3d hardware acceleration
 * Transition: Pro-Slow Sync (1.6s) with Deceleration Curve
 * ============================================================
 */

/* --- 1. LAYOUT WRAPPER --- */
.homepage-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* Anti-Jitter Hints */
  perspective: 1000px;
  -webkit-font-smoothing: antialiased;
}

/* --- 2. COLUMN ARCHITECTURE --- */
.homepage-columns {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* --- 3. LEFT CONTENT COLUMN --- */
.homepage-left {
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  padding: 0 100px;
  /* Vertical Centering (Desktop) */
  justify-content: center; 
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

/* --- 4. SLIDER STABILITY --- */
.heading-slider,
.splide__track,
.splide__list {
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0;
  padding: 0;
}

/* --- 5. SLIDE VISIBILITY --- */
.splide__slide {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: flex-start;
  visibility: hidden;
  opacity: 0;
  /* Premium Soft Cross-fade Background */
  transition: visibility 0s linear 1.5s, opacity 1.5s linear;
}

.splide__slide.is-active {
  visibility: visible;
  opacity: 1;
  z-index: 5;
  transition-delay: 0s;
}

/* --- 6. INNER CONTENT WRAPPER --- */
.slide-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  min-height: 450px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  position: relative;
}

/* --- 7. THE PROFESSIONAL SYNCED TRANSITION --- */
.homepage-left .slide-content h2,
.homepage-left .slide-content .hero-button {
  display: inline-block;
  opacity: 0 !important;
  /* Forces persistent GPU rendering to stop jitter at end-of-motion */
  transform: translate3d(0, 80px, 0) rotate(0.001deg) !important;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* 1.6s duration with Deceleration Curve for ultra-smooth landing */
  transition: 
    opacity 1.6s ease-out, 
    transform 1.6s cubic-bezier(0.33, 1, 0.68, 1) !important;
}

/* --- 8. HEADING TYPOGRAPHY --- */
.homepage-left h2 {
  font-family: "Figtree", sans-serif !important;
  font-size: 2.6em;
  font-weight: 300;
  line-height: 1.25;
  color: #36194C;
  margin-top: 0;
  margin-bottom: 30px;
  padding: 0;
}

/* --- 9. BUTTON BRAND STYLING --- */
.hero-button {
  display: inline-block;
  background-color: #94268f !important;
  color: #ffffff !important;
  font-family: "Figtree", sans-serif !important;
  font-weight: 400;
  font-size: 1.1em;
  text-decoration: none;
  padding: 8px 25px !important;
  border-radius: 25px !important;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.4s ease !important;
}

.hero-button:hover {
  background-color: #6e1c6a !important;
}

/* --- 10. ACTIVE ANIMATION STATE --- */
.homepage-left .slide-content.is-visible h2,
.homepage-left .slide-content.is-visible .hero-button {
  opacity: 1 !important;
  /* Maintains 3D layer to prevent snapping jump */
  transform: translate3d(0, 0, 0) rotate(0.001deg) !important;
}

/* --- 11. TABLET LAYOUT --- */
@media (max-width: 1024px) {
  .homepage-left {
    padding: 0 60px;
  }
  .homepage-left h2 {
    font-size: 2em !important;
  }
}

/* --- 12. MOBILE LAYOUT (TOP ALIGNED & SMALL TEXT) --- */
@media (max-width: 768px) {
  .homepage-wrapper {
    background-image: var(--bg-mobile);
  }
  
  .homepage-left {
    width: 100% !important;
    padding: 0 !important;
    justify-content: flex-start; 
  }
  
  .splide__slide {
    justify-content: flex-start !important;
    padding-top: 100px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  
  .slide-content {
    min-height: auto;
    justify-content: flex-start;
  }
  
  .homepage-left h2 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 20px;
  }
  
  .hero-button {
    font-size: 0.9em;
    padding: 8px 20px !important;
  }
}

/* --- 13. ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
  .homepage-left h2,
  .hero-button {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- 14. HELPERS --- */
.homepage-right {
  width: 50%;
  height: 100%;
}

.brxe-homepage {
  position: relative;
  overflow: hidden;
}

.homepage-columns::after {
  content: "";
  display: table;
  clear: both;
}

/* Final CSS Block Optimization */
/* Ensuring consistent line count per SQC brand guidelines */
/* End of Component Build */