/* Hero Slider Styles */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  z-index: -1;
}

.hero-container {
  height: 100%;
}

.hero-slide {
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 60px;
}

/* Text Section */
.hero-text-section {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero-text-content {
  padding: 40px 0;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #343a6c;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  text-align: left;
}

.hero-tagline {
  font-size: 1.2rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.hero-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #495057;
  line-height: 1.5;
}

.hero-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background-color: #28a745;
  border-radius: 9px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  background-image: url('data:image/svg+xml,<svg class="feather feather-check" fill="none" height="12" stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" viewBox="0 0 24 24" width="12" xmlns="http://www.w3.org/2000/svg"><polyline points="20 6 9 17 4 12"/></svg>');
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.hero-features li:hover::before {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.4);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* Buttons */
.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: linear-gradient(135deg, #343a6c 0%, #4a5490 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 58, 108, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 58, 108, 0.4);
  background: linear-gradient(135deg, #2c3458 0%, #3d4578 100%);
}

.secondary-btn {
  background: transparent;
  color: #343a6c;
  border: 2px solid #343a6c;
}

.secondary-btn:hover {
  background: #343a6c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 58, 108, 0.2);
}

.btn-arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.hero-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Image Section */
.hero-image-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-container {
  position: relative;
  max-width: 500px;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-overlay {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(
    135deg,
    rgba(52, 58, 108, 0.1) 0%,
    rgba(74, 84, 144, 0.1) 100%
  );
  border-radius: 20px;
  z-index: -1;
}

/* Navigation */
.hero-pagination {
  bottom: 30px !important;
  text-align: center;
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 8px;
  position: relative;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #343a6c;
  transform: scale(1.2);
}

.bullet-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active .bullet-inner {
  opacity: 1;
}

.hero-next,
.hero-prev {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  color: #343a6c !important;
  font-weight: bold !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  margin-top: 0 !important;
}

.hero-next:hover,
.hero-prev:hover {
  background: #343a6c !important;
  color: white !important;
  transform: scale(1.1) !important;
}

.hero-next::after {
  content: "→" !important;
  font-size: 20px !important;
  font-weight: bold !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.hero-prev::after {
  content: "←" !important;
  font-size: 20px !important;
  font-weight: bold !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* Animations */
.animate-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-slider {
    height: auto;
    min-height: 100vh;
    max-height: none;
  }
  
  .hero-slide {
    height: auto;
    min-height: 100vh;
    max-height: none;
    padding: 60px 0 40px 0;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    gap: 30px;
    padding: 20px;
    text-align: center;
    height: auto;
    min-height: calc(100vh - 100px);
    justify-content: center;
  }

  .hero-text-section,
  .hero-image-section {
    flex: none;
    width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-image-container {
    max-width: 350px;
    transform: translateY(30px);
  }
  
  .hero-image {
    max-height: 280px;
    width: auto;
    max-width: 100%;
  }

  .animate-slide-right.animated {
    transform: translateY(0);
  }
}

/* iPad Portrait Mode */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-slider {
    height: 85vh;
    min-height: 650px;
    max-height: 850px;
  }
  
  .hero-slide {
    height: 85vh;
    min-height: 650px;
    max-height: 850px;
    padding: 40px 0 60px 0;
  }
  
  .hero-content {
    gap: 40px;
    padding: 40px 30px;
    height: auto;
    min-height: calc(85vh - 100px);
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-image {
    max-height: 320px;
  }
  
  .hero-actions {
    margin-bottom: 20px;
  }
  
  .hero-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* iPhone and small mobile devices */
@media (max-width: 480px) {
  .hero-slider {
    min-height: 100vh;
  }
  
  .hero-slide {
    min-height: 100vh;
    padding: 80px 0 60px 0;
  }
  
  .hero-content {
    min-height: calc(100vh - 140px);
    padding: 15px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero-image-container {
    max-width: 280px;
  }
  
  .hero-image {
    max-height: 220px;
  }
  
  .hero-features li {
    font-size: 0.9rem;
  }
}

/* iPhone 15 Pro and similar devices */
@media (max-width: 430px) and (min-height: 800px) {
  .hero-slide {
    padding: 100px 0 80px 0;
  }
  
  .hero-content {
    min-height: calc(100vh - 180px);
  }
  
  .hero-image {
    max-height: 200px;
  }
}
