/* Hero Slider Styles */
.hero-slider {
  height: 85vh;
  min-height: 600px;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  flex: 1;
  padding: var(--space-xl);
  z-index: 2;
  max-width: 600px;
}

.slide-content h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
  max-width: 500px;
  text-align: justify;
}

.slide-image {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 30%,
    transparent 70%
  );
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.615);
  border: none;
  border-radius: var(--radius-round);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.slider-btn:hover {
  background-color: var(--text-white);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: var(--space-lg);
}

.next-btn {
  right: var(--space-lg);
}

.slider-dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xs);
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background-color: var(--text-white);
  transform: scale(1.2);
}

/* Responsive Hero Slider */
@media (max-width: 992px) {
  .slide-content h1 {
    font-size: 2.8rem;
  }

  .slide {
    flex-direction: column;
  }
  .hero-slider {
    margin-top: 80px;
  }

  .slide-content {
    max-width: 100%;
    text-align: center;
    padding: var(--space-lg);
  }

  .slide-image {
    width: 100%;
    height: 50%;
  }

  .slide-image::before {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.7) 30%,
      transparent 70%
    );
  }
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 90vh;
    margin-top: 80px;
  }
  .slide-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
  }
  .slide-content h1 {
    font-size: 2.2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: var(--space-sm);
  }

  .next-btn {
    right: var(--space-sm);
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 80vh;
    min-height: 400px;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }
}

/* Animations CSS File - Save as animations.css */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
  opacity: 0;
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
  opacity: 0;
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-slide-in-left {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
  opacity: 0;
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-slide-in-up {
  opacity: 0;
  animation: slideInUp 0.8s ease-out forwards;
}

.animate-zoom-in {
  opacity: 0;
  animation: zoomIn 0.8s ease-out forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-rotate-in {
  opacity: 0;
  animation: rotateIn 0.8s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Hover Animations */
.animate-scale-on-hover {
  transition: transform var(--transition-medium);
}

.animate-scale-on-hover:hover {
  transform: scale(1.05);
}

.animate-pulse-on-hover {
  transition: all var(--transition-medium);
}

.animate-pulse-on-hover:hover {
  animation: pulse 0.5s ease-in-out;
}

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animation Delays */
.delay-1 {
  animation-delay: 0.1s !important;
}
.delay-2 {
  animation-delay: 0.2s !important;
}
.delay-3 {
  animation-delay: 0.3s !important;
}
.delay-4 {
  animation-delay: 0.4s !important;
}
.delay-5 {
  animation-delay: 0.5s !important;
}
.delay-6 {
  animation-delay: 0.6s !important;
}
.delay-7 {
  animation-delay: 0.7s !important;
}
.delay-8 {
  animation-delay: 0.8s !important;
}
