.hero-slider {
  position: relative;
  height: 650px;
  overflow: hidden;
  background: #1a1a2e;
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 30, 60, 0.85) 0%, rgba(0, 60, 120, 0.75) 50%, rgba(0, 90, 180, 0.85) 100%);
  z-index: 1;
}

.hero-slide.slide-1 {
  background: linear-gradient(135deg, rgba(0, 40, 100, 0.95) 0%, rgba(0, 60, 140, 0.9) 100%),
              url('https://images.pexels.com/photos/1148820/pexels-photo-1148820.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080') center/cover no-repeat;
}

.hero-slide.slide-1::before {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.75) 0%, rgba(0, 123, 255, 0.7) 50%, rgba(0, 150, 255, 0.75) 100%);
}

.hero-slide.slide-2 {
  background: linear-gradient(135deg, rgba(0, 60, 40, 0.95) 0%, rgba(0, 80, 60, 0.9) 100%),
              url('https://images.pexels.com/photos/2881232/pexels-photo-2881232.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080') center/cover no-repeat;
}

.hero-slide.slide-2::before {
  background: linear-gradient(135deg, rgba(0, 150, 100, 0.75) 0%, rgba(0, 180, 120, 0.7) 50%, rgba(0, 200, 130, 0.75) 100%);
}

.hero-slide.slide-3 {
  background: linear-gradient(135deg, rgba(100, 40, 0, 0.95) 0%, rgba(140, 60, 0, 0.9) 100%),
              url('https://images.pexels.com/photos/325229/pexels-photo-325229.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080') center/cover no-repeat;
}

.hero-slide.slide-3::before {
  background: linear-gradient(135deg, rgba(200, 80, 20, 0.75) 0%, rgba(230, 100, 30, 0.7) 50%, rgba(255, 120, 50, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 var(--spacing-md);
  animation: slideUp 0.8s ease-out;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes slideUpFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.125rem;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-feature-icon {
  font-size: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.hero-buttons .btn {
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-buttons .btn-primary {
  background: white;
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.hero-buttons .btn-primary:hover {
  background: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-buttons .btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
  background: white;
  width: 40px;
  border-radius: 10px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

.trust-badges {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge-number {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.trust-badge-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

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

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content .subtitle {
    font-size: 1.25rem;
  }

  .hero-content p {
    font-size: 1.0625rem;
  }

  .hero-features {
    gap: var(--spacing-sm);
  }

  .hero-feature {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow.prev {
    left: 15px;
  }

  .slider-arrow.next {
    right: 15px;
  }

  .trust-badges {
    display: none;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 550px;
  }

  .hero-content h1 {
    font-size: 1.875rem;
  }

  .hero-content .subtitle {
    font-size: 1.125rem;
  }

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