.three-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  opacity: 0.7;
  display: block !important;
}

.hero-fallback-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none; 
}

.hero .container {
  position: relative;
  z-index: 2;
}

/*  position relative */
.hero.section.dark-background {
  position: relative;
  overflow: hidden;
}


.hero-title, .hero-quote, .hero-buttons {
  will-change: transform, opacity;
}
.img-bg {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

#why-us-canvas {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}
/* Premium Business Background */
.premium-business-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  overflow: hidden;
}

.dark-theme .premium-business-bg {
  background: 
    linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

/* Premium Floating Elements */
.premium-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.premium-element {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: premiumFloat 12s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-theme .premium-element {
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-element i {
  font-size: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-theme .premium-element i {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Element Positions */
.element-1 { top: 20%; left: 15%; animation-delay: 0s; }
.element-2 { top: 60%; left: 70%; animation-delay: 3s; }
.element-3 { top: 75%; left: 25%; animation-delay: 6s; }
.element-4 { top: 30%; left: 75%; animation-delay: 9s; }

/* Premium Connection Lines */
.premium-connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(102, 126, 234, 0.3) 50%, 
    transparent 100%);
  animation: premiumFlow 8s linear infinite;
}

.dark-theme .premium-connection {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(79, 172, 254, 0.4) 50%, 
    transparent 100%);
}

.connection-1 { top: 35%; left: 25%; width: 150px; transform: rotate(15deg); animation-delay: 0s; }
.connection-2 { top: 65%; left: 45%; width: 120px; transform: rotate(-10deg); animation-delay: 4s; }

/* Premium Background Pattern */
.premium-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: 
    radial-gradient(circle at 20% 30%, #667eea 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, #764ba2 0%, transparent 50%);
  animation: patternPulse 15s ease-in-out infinite;
}

.dark-theme .premium-pattern {
  background-image: 
    radial-gradient(circle at 20% 30%, #4facfe 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, #00f2fe 0%, transparent 50%);
}

/* Premium Animations */
@keyframes premiumFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  33% { 
    transform: translateY(-20px) rotate(5deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
  66% { 
    transform: translateY(10px) rotate(-3deg) scale(0.98);
  }
}

@keyframes premiumFlow {
  0% {
    transform: scaleX(0) rotate(var(--rotation, 0deg));
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scaleX(1) rotate(var(--rotation, 0deg));
    opacity: 0;
  }
}

@keyframes patternPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
}

/* Premium Slide Animations */
.swiper-slide-active .slide-title {
  animation: premiumSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.swiper-slide-active .slide-subtitle {
  animation: premiumSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.swiper-slide-active .slide-content {
  animation: premiumSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

@keyframes premiumSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Progress Bar */
.premium-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(102, 126, 234, 0.1);
}

.premium-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  width: 0%;
}

.dark-theme .premium-progress-bar {
  background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.swiper-slide-active .premium-progress-bar {
  animation: premiumProgress 5s linear forwards;
}

@keyframes premiumProgress {
  from { width: 0%; }
  to { width: 100%; }
}
/* FIX THREE.JS POSITION */
.page-title.dark-background {
  position: relative !important;
  height: 100vh !important;
  min-height: 600px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.page-title.dark-background::before {
  display: none !important;
}

#three-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

.page-title .container {
  position: relative;
  z-index: 100;
  padding-top: 80px; /* Kasih space untuk header */
}

/* Pastikan konten visible */
.page-title h1,
.page-title .breadcrumbs {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}