/* ============================================
   HERO SLIDER - ULTRA MODERN PREMIUM DESIGN
   Cutting-edge animations, effects, and modern UI
   ============================================ */

/* Container */
.hero-slider-premium {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

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

/* Loading State */
.hero-slider-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-slider-loading[style*="display: none"] {
  display: none !important;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Animated Background Shapes */
.hero-animated-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-animated-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0.6;
}

.hero-animated-shapes .shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.hero-animated-shapes .shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: -50px;
}

.hero-animated-shapes .shape-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 10%;
}

.hero-animated-shapes .shape-4 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
}

@keyframes morphShape {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 50%;
  }
  25% {
    transform: translate(30px, -30px) scale(1.1) rotate(90deg);
    border-radius: 40% 60% 50% 50%;
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9) rotate(180deg);
    border-radius: 60% 40% 40% 60%;
  }
  75% {
    transform: translate(20px, 30px) scale(1.05) rotate(270deg);
    border-radius: 50% 50% 40% 60%;
  }
}

/* Swiper Container */
.heroSwiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.heroSwiper .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

/* Hero Slide - Premium Style */
.hero-slide-premium {
  min-height: 600px;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

/* Swiper fade effect */
.heroSwiper .swiper-slide {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.heroSwiper .swiper-slide-active {
  opacity: 1 !important;
  z-index: 1;
}

.heroSwiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
  z-index: 0;
  pointer-events: none;
}

/* Responsive Heights */
@media (max-width: 1024px) {
  .hero-slide-premium {
    min-height: 500px;
    height: 75vh;
  }
}

@media (max-width: 768px) {
  .hero-slide-premium {
    min-height: 450px;
    height: 70vh;
  }
}

@media (max-width: 640px) {
  .hero-slide-premium {
    min-height: 400px;
    height: 60vh;
  }
}

/* Background Layer */
.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-image-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 120%;
  min-height: 120%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  filter: brightness(1.05) contrast(1.1);
}

/* Ken Burns Animations - Enhanced */
@keyframes kenBurnsZoom {
  0% {
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(1.05) contrast(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.25);
    filter: brightness(1.1) contrast(1.15);
  }
}

@keyframes kenBurnsPanLeft {
  0% {
    transform: translate(-40%, -50%) scale(1.15);
  }
  100% {
    transform: translate(-60%, -50%) scale(1.15);
  }
}

@keyframes kenBurnsPanRight {
  0% {
    transform: translate(-60%, -50%) scale(1.15);
  }
  100% {
    transform: translate(-40%, -50%) scale(1.15);
  }
}

@keyframes kenBurnsPanUp {
  0% {
    transform: translate(-50%, -40%) scale(1.15);
  }
  100% {
    transform: translate(-50%, -60%) scale(1.15);
  }
}

@keyframes kenBurnsPanDown {
  0% {
    transform: translate(-50%, -60%) scale(1.15);
  }
  100% {
    transform: translate(-50%, -40%) scale(1.15);
  }
}

.ken-burns-zoom .hero-image-bg {
  animation: kenBurnsZoom 20s ease-in-out infinite;
}

.ken-burns-pan-left .hero-image-bg {
  animation: kenBurnsPanLeft 20s ease-in-out infinite;
}

.ken-burns-pan-right .hero-image-bg {
  animation: kenBurnsPanRight 20s ease-in-out infinite;
}

.ken-burns-pan-up .hero-image-bg {
  animation: kenBurnsPanUp 20s ease-in-out infinite;
}

.ken-burns-pan-down .hero-image-bg {
  animation: kenBurnsPanDown 20s ease-in-out infinite;
}

/* Animated Gradient Overlay */
.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(147, 51, 234, 0.1) 25%,
    rgba(236, 72, 153, 0.1) 50%,
    rgba(251, 146, 60, 0.1) 75%,
    rgba(59, 130, 246, 0.1) 100%
  );
  background-size: 400% 400%;
  z-index: 1;
  mix-blend-mode: overlay;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Video Background */
.hero-slide-premium video.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
  pointer-events: none;
  filter: brightness(1.05) contrast(1.1);
}

@media (max-width: 768px) {
  .hero-slide-premium video.hero-video-bg {
    width: 100%;
    height: 100%;
  }
}

/* Particle Effects */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Overlay Layer */
.hero-overlay-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

/* Layers Container */
.hero-layers-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-layers-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  padding: 3rem 2rem;
}

/* Hero Layer - Premium Style */
.hero-layer {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 2rem;
  will-change: opacity, transform;
}

.hero-layer.premium-animated {
  opacity: 1;
  transform: translateY(0);
}

/* Typography - Ultra Modern */
.hero-layer-title .premium-title,
.hero-layer-title h1 {
  font-size: clamp(3rem, 7vw, 6.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6), 0 2px 20px rgba(0, 0, 0, 0.4),
    0 0 0 rgba(0, 0, 0, 0.2) !important;
  letter-spacing: -0.03em !important;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
}

.hero-layer-subtitle .premium-subtitle,
.hero-layer-subtitle p {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.98) !important;
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.5), 0 1px 10px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: -0.01em;
}

.hero-layer-description .premium-description,
.hero-layer-description p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem) !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(0, 0, 0, 0.2) !important;
  font-weight: 400 !important;
  max-width: 750px;
}

/* Text Splitting - Premium */
.premium-text-split {
  display: inline-block;
}

.premium-text-split .premium-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-text-split .premium-word.premium-animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.premium-text-letters {
  display: inline-block;
}

.premium-text-letters .premium-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.7) rotateY(90deg);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-text-letters .premium-char.premium-animated {
  opacity: 1;
  transform: translateY(0) scale(1) rotateY(0deg);
}

/* Buttons - Ultra Premium */
.hero-layer-buttons {
  margin-top: 3rem;
}

.premium-buttons {
  gap: 1.25rem;
  flex-wrap: wrap;
}

.premium-btn {
  position: relative;
  padding: 1.25rem 3rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.0625rem;
  border: none;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  text-decoration: none;
  transform: translateY(0);
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  isolation: isolate;
}

.premium-btn .btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.premium-btn .btn-shine {
  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.6s ease;
  z-index: 1;
}

.premium-btn:hover .btn-shine {
  left: 100%;
}

.premium-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 5px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.premium-btn:active {
  transform: translateY(-2px) scale(1);
}

.premium-btn i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.premium-btn:hover i {
  transform: translateX(8px) scale(1.1);
}

/* Button Styles - Premium */
.premium-btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #1a1a1a;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.premium-btn-primary:hover {
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 8px 25px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.premium-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.premium-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.premium-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.premium-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: none;
  box-shadow: none;
  opacity: 0.9;
}

.premium-btn-ghost:hover {
  opacity: 1;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5), 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows - Ultra Premium */
.premium-nav-next,
.premium-nav-prev {
  width: 70px !important;
  height: 70px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 0 !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  overflow: hidden;
}

.premium-nav-prev {
  left: 3rem !important;
  right: auto !important;
}

.premium-nav-next {
  right: 3rem !important;
  left: auto !important;
}

.premium-nav-next:hover,
.premium-nav-prev:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-50%) scale(1.2) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.premium-nav-next:after,
.premium-nav-prev:after {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

.nav-arrow-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-nav-next:hover .nav-arrow-inner,
.premium-nav-prev:hover .nav-arrow-inner {
  opacity: 1;
}

/* Pagination - Ultra Premium */
.premium-pagination {
  bottom: 3rem !important;
  z-index: 10 !important;
  position: absolute !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.premium-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 0 !important;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.premium-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  width: 50px;
  border-radius: 25px;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* Progress Bar */
.premium-pagination .swiper-pagination-bullet .bullet-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.premium-pagination .swiper-pagination-bullet-active .bullet-progress {
  background: #ffffff;
  height: 5px;
}

/* Slide Counter - Ultra Premium */
.premium-slide-counter {
  position: absolute;
  bottom: 6rem;
  right: 3rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px;
  padding: 0.75rem 1.5rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.premium-slide-counter .counter-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.premium-slide-counter .counter-current {
  font-size: 1.5rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.premium-slide-counter .counter-separator {
  opacity: 0.6;
  margin: 0 0.5rem;
  font-weight: 400;
}

.premium-slide-counter .counter-total {
  opacity: 0.8;
  font-weight: 600;
}

/* Animation Classes - Premium */
.premium-animate-fade {
  opacity: 0;
}

.premium-animate-slide-up {
  opacity: 0;
  transform: translateY(60px);
}

.premium-animate-slide-down {
  opacity: 0;
  transform: translateY(-60px);
}

.premium-animate-slide-left {
  opacity: 0;
  transform: translateX(60px);
}

.premium-animate-slide-right {
  opacity: 0;
  transform: translateX(-60px);
}

.premium-animate-zoom {
  opacity: 0;
  transform: scale(0.3);
}

.premium-animate-zoom-in {
  opacity: 0;
  transform: scale(0.7);
}

.premium-animate-zoom-out {
  opacity: 0;
  transform: scale(1.3);
}

.premium-animate-rotate {
  opacity: 0;
  transform: rotate(15deg) scale(0.8);
}

.premium-animate-blur {
  opacity: 0;
  filter: blur(15px);
}

/* Animation Delays */
.premium-delay-200 {
  transition-delay: 0.2s;
}

.premium-delay-400 {
  transition-delay: 0.4s;
}

.premium-delay-600 {
  transition-delay: 0.6s;
}

.premium-delay-800 {
  transition-delay: 0.8s;
}

.premium-delay-1000 {
  transition-delay: 1s;
}

/* Animation Speeds */
.animation-speed-slow {
  transition-duration: 1.8s;
}

.animation-speed-normal {
  transition-duration: 1.2s;
}

.animation-speed-fast {
  transition-duration: 0.7s;
}

/* Full Height Option */
.hero-slide-premium[style*="height: 100vh"] {
  min-height: 100vh !important;
  height: 100vh !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-layers-wrapper {
    padding: 2rem 1.5rem;
  }

  .hero-layer-title .premium-title {
    margin-bottom: 1rem;
  }

  .hero-layer-subtitle .premium-subtitle,
  .hero-layer-description .premium-description {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 4vw, 1.25rem);
  }

  .premium-btn {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .premium-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  .premium-nav-next,
  .premium-nav-prev {
    display: none !important;
  }

  .premium-pagination {
    bottom: 2.5rem !important;
  }

  .premium-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }

  .premium-pagination .swiper-pagination-bullet-active {
    width: 40px;
  }

  .premium-slide-counter {
    bottom: 5.5rem;
    right: 2rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }

  .premium-slide-counter .counter-current {
    font-size: 1.25rem;
  }

  .hero-animated-shapes .shape {
    opacity: 0.3;
  }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .premium-nav-next,
  .premium-nav-prev {
    width: 60px !important;
    height: 60px !important;
  }

  .premium-nav-prev {
    left: 2rem !important;
  }

  .premium-nav-next {
    right: 2rem !important;
  }
}

/* Desktop - Ensure navigation is visible */
@media (min-width: 769px) {
  .premium-nav-next,
  .premium-nav-prev {
    display: flex !important;
  }
}

/* Content Alignment */
.hero-layers-wrapper[style*="text-align: left"] {
  text-align: left;
}

.hero-layers-wrapper[style*="text-align: center"] {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-layers-wrapper[style*="text-align: right"] {
  text-align: right;
  margin-left: auto;
}

/* Accessibility */
.hero-slider-premium:focus-within {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: -3px;
}

.premium-nav-next:focus,
.premium-nav-prev:focus {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* Touch-friendly on mobile */
@media (max-width: 768px) {
  .hero-slider-premium {
    touch-action: pan-y;
  }

  .hero-slide-premium {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Fallback for when Swiper doesn't load */
.hero-slider-premium[data-slide-count="1"] .hero-slide-premium {
  opacity: 1 !important;
  display: flex !important;
}

/* Ensure slides are visible even without Swiper */
.hero-slide-premium {
  opacity: 0;
}

.hero-slide-premium:first-child {
  opacity: 1;
  z-index: 1;
}

/* Enhanced blur effect */
.premium-animate-blur.premium-animated {
  filter: blur(0);
  transition: filter 1.2s ease-out;
}

/* Performance optimizations */
.hero-slide-premium,
.hero-layer,
.premium-btn {
  will-change: transform, opacity;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
