/* Clean Professional Hero Gallery */
.hero-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Full width hero container respecting sidebar */
.hero-container {
  width: 100%;
  height: 60vh;
  max-height: 600px;
  min-height: 400px;
  position: relative;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
}

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

/* Clean swiper slides */
.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  max-width: 100%;
  max-height: 100%;
}

.swiper-slide:hover img {
  transform: scale(1.02);
}

/* Hero Caption Styling */
.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  color: white;
  padding: 15px 20px 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
  z-index: 2;
}

.hero-caption:hover {
  opacity: 0.9;
}

/* Professional Navigation Arrows */
.hero-nav-btn {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.hero-nav-btn::after {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0d3d91 !important;
}

.swiper-button-next.hero-nav-btn {
  right: 20px;
}

.swiper-button-prev.hero-nav-btn {
  left: 20px;
}

/* Professional Pagination Dots */
.hero-pagination {
  bottom: 60px !important;
  text-align: center;
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
  margin: 0 6px !important;
  transition: all 0.3s ease !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #0d3d91 !important;
  transform: scale(1.4);
  border-color: #0d3d91;
  box-shadow: 0 0 12px rgba(13, 61, 145, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-container {
    height: 55vh;
    min-height: 380px;
    max-height: 550px;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
  }
  
  .hero-nav-btn {
    width: 45px !important;
    height: 45px !important;
  }
  
  .hero-nav-btn::after {
    font-size: 16px !important;
  }
}

@media (max-width: 768px) {
  .hero-container {
    height: 45vh;
    min-height: 320px;
    max-height: 450px;
  }
  
  .hero-nav-btn {
    width: 40px !important;
    height: 40px !important;
  }
  
  .hero-nav-btn::after {
    font-size: 14px !important;
  }
  
  .swiper-button-next.hero-nav-btn {
    right: 15px;
  }
  
  .swiper-button-prev.hero-nav-btn {
    left: 15px;
  }
  
  .hero-pagination {
    bottom: 50px !important;
  }
  
  .hero-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
  }
  
  .hero-caption {
    font-size: 12px;
    padding: 12px 15px 15px;
  }
}

@media (max-width: 480px) {
  .hero-container {
    height: 40vh;
    min-height: 280px;
    max-height: 400px;
  }
  
  .hero-nav-btn {
    width: 35px !important;
    height: 35px !important;
  }
  
  .hero-nav-btn::after {
    font-size: 12px !important;
  }
  
  .swiper-button-next.hero-nav-btn {
    right: 10px;
  }
  
  .swiper-button-prev.hero-nav-btn {
    left: 10px;
  }
  
  .hero-pagination {
    bottom: 45px !important;
  }
  
  .hero-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 4px !important;
  }
  
  .hero-caption {
    font-size: 11px;
    padding: 10px 12px 12px;
  }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
  .hero-container {
    max-height: 700px;
  }
}

/* Ensure images are never cropped on any device */
@media (orientation: portrait) {
  .swiper-slide img {
    object-fit: contain;
    width: 100%;
    height: auto;
    max-height: 100%;
  }
}

@media (orientation: landscape) {
  .swiper-slide img {
    object-fit: contain;
    width: auto;
    height: 100%;
    max-width: 100%;
  }
}

/* Accessibility improvements */
.hero-nav-btn:focus,
.hero-pagination .swiper-pagination-bullet:focus {
  outline: 2px solid #0d3d91;
  outline-offset: 2px;
}

/* Performance optimizations */
.swiper-slide img {
  will-change: transform;
}

/* Smooth transition to stats section */
.stats {
  position: relative;
  z-index: 1;
}

/* Print styles */
@media print {
  .hero-section {
    display: none;
  }
}