/* Hero Slider Component - Professional & Minimalist */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero-slider__container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Natural Image Display - True Colors */
.hero-slider__slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: all 0.8s ease;
  transform: scale(1);
  filter: none;
  max-width: 100%;
  min-height: 100%;
  min-width: 100%;
}

/* Subtle zoom effect on active slide */
.hero-slider__slide.active img {
  transform: scale(1.02);
  filter: none;
}

.hero-slider__slide.loading img {
  opacity: 0;
  transform: scale(1.02);
}

.hero-slider__slide.loaded img {
  opacity: 1;
  transform: scale(1);
}

/* Maximum Image Clarity and Vibrancy */
.hero-slider__slide img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: optimizeQuality;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Ensure full coverage and proper aspect ratio */
.hero-slider__slide {
  aspect-ratio: 16/9;
}

@media (max-width: 768px) {
  .hero-slider__slide {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 480px) {
  .hero-slider__slide {
    aspect-ratio: 3/4;
  }
}

/* Flat Navigation Arrows */
.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 18px;
  font-weight: 400;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 50%;
}

.hero-slider__nav i {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.hero-slider__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

.hero-slider__nav:hover i {
  transform: scale(1.1);
}

.hero-slider__nav:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-slider__nav--prev {
  left: 35px;
}

.hero-slider__nav--next {
  right: 35px;
}

.hero-slider__nav:focus {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

/* Concealed Minimalist Pagination with Blur Effects */
.hero-slider__pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  opacity: 0.3;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.hero-slider__pagination:hover {
  opacity: 0.8;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero-slider__dot {
  width: 24px;
  height: 2px;
  min-width: 24px;
  min-height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  flex-shrink: 0;
  filter: blur(0.5px);
}


.hero-slider__dot:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(1.1);
  filter: blur(0.2px);
}

.hero-slider__dot.active {
  background: rgba(0, 160, 224, 0.6);
  width: 32px;
  min-width: 32px;
  filter: blur(0.3px);
  box-shadow: 0 0 8px rgba(0, 160, 224, 0.3);
}

.hero-slider__dot:focus {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 2px;
  filter: blur(0.2px);
}

/* Loading State */
.hero-slider__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  z-index: 5;
}

/* Accessibility - Screen reader announcements are handled via JS */

.hero-slider__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero-slider {
    height: 80vh;
    min-height: 500px;
    max-height: 700px;
  }
  
  .hero-slider__nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .hero-slider__nav--prev {
    left: 15px;
  }
  
  .hero-slider__nav--next {
    right: 15px;
  }
  
  .hero-slider__pagination {
    bottom: 20px;
    gap: 8px;
    opacity: 0.25;
    padding: 6px 12px;
    border-radius: 16px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  
  .hero-slider__pagination:hover {
    opacity: 0.7;
  }
  
  .hero-slider__dot {
    width: 18px;
    height: 2px;
    min-width: 18px;
    min-height: 2px;
    filter: blur(0.4px);
  }
  
  .hero-slider__dot.active {
    width: 26px;
    min-width: 26px;
    filter: blur(0.2px);
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 70vh;
    min-height: 450px;
    max-height: 600px;
  }
  
  .hero-slider__nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .hero-slider__nav--prev {
    left: 10px;
  }
  
  .hero-slider__nav--next {
    right: 10px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-slider__container {
    transition: none;
  }
  
  .hero-slider__slide img {
    transition: none;
  }
  
  .hero-slider__nav,
  .hero-slider__dot {
    transition: none;
  }
}

/* Content Overlay Styles - No Background Overlay */
.hero-slider__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-slider__content {
  max-width: 1000px;
  padding: 80px 60px;
  text-align: center;
  color: white;
  animation: slideContentIn 1.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-slider__title {
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.015em;
  color: #ffffff;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  z-index: 2;
  word-break: keep-all;
}

.hero-slider__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
}

.hero-slider__subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 3.5rem;
  opacity: 0.95;
  line-height: 1.8;
  text-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.4);
  max-width: 750px;
  font-family: 'Open Sans', sans-serif;
  color: rgba(255, 255, 255, 0.98);
  text-align: center;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  padding: 15px 25px;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-slider__cta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  min-width: 180px;
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  font-family: 'Montserrat', sans-serif;
}

.hero-slider__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-slider__btn:hover::before {
  opacity: 1;
}

.hero-slider__btn--primary {
  background: #00a0df;
  color: white;
  border: none;
}

.hero-slider__btn--primary:hover {
  background: #0090cf;
  transform: translateY(-1px);
  color: white;
}

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

.hero-slider__btn--secondary:hover {
  background: white;
  color: #333;
  transform: translateY(-1px);
}

.hero-slider__btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-slider__btn:focus {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

/* Enhanced Content Animation */
@keyframes slideContentIn {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(5px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(20px) scale(0.98);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes slideContentOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(1.02);
    filter: blur(3px);
  }
}

.hero-slider__slide.active .hero-slider__content {
  animation: slideContentIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slider__slide:not(.active) .hero-slider__content {
  animation: slideContentOut 0.6s ease-out;
}

/* Enhanced Slide transition states */
.hero-slider__slide {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slider__slide.active {
  opacity: 1;
}

/* Smooth content transitions */
.hero-slider__content {
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Elegant Mobile Optimizations */
@media (max-width: 768px) {
  .hero-slider {
    height: 80vh;
    min-height: 500px;
    max-height: 700px;
  }
  
  .hero-slider__content {
    padding: 50px 30px;
    max-width: 95%;
    border-radius: 20px;
  }
  
  .hero-slider__title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 500;
    max-width: 95%;
  }
  
  .hero-slider__subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
    padding: 12px 20px;
    border-radius: 6px;
  }
  
  .hero-slider__cta {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .hero-slider__btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 28px;
    font-size: 0.95rem;
    min-width: auto;
  }
  
  /* Hide navigation arrows in mobile view for cleaner interface */
  .hero-slider__nav {
    display: none;
  }
  
  .hero-slider__pagination {
    bottom: 30px;
    gap: 10px;
    opacity: 0.2;
    padding: 6px 14px;
    border-radius: 18px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  
  .hero-slider__pagination:hover {
    opacity: 0.75;
  }
  
  .hero-slider__dot {
    width: 20px;
    height: 2px;
    min-width: 20px;
    min-height: 2px;
    filter: blur(0.3px);
  }
  
  .hero-slider__dot.active {
    width: 28px;
    min-width: 28px;
    filter: blur(0.2px);
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 70vh;
    min-height: 450px;
    max-height: 600px;
  }
  
  .hero-slider__content {
    padding: 40px 25px;
    border-radius: 16px;
  }
  
  .hero-slider__title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
    max-width: 95%;
  }
  
  .hero-slider__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
    padding: 10px 18px;
    border-radius: 6px;
  }
  
  .hero-slider__btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
  }
  
  /* Ensure navigation arrows remain hidden in small mobile view */
  .hero-slider__nav {
    display: none;
  }
  
  .hero-slider__pagination {
    bottom: 25px;
    gap: 8px;
    opacity: 0.15;
    padding: 5px 10px;
    border-radius: 14px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
  
  .hero-slider__pagination:hover {
    opacity: 0.7;
  }
  
  .hero-slider__dot {
    width: 16px;
    height: 2px;
    min-width: 16px;
    min-height: 2px;
    filter: blur(0.2px);
  }
  
  .hero-slider__dot.active {
    width: 24px;
    min-width: 24px;
    filter: blur(0.1px);
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .hero-slider__nav {
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
  }
  
  .hero-slider__dot {
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
  }
  
  .hero-slider__dot.active {
    background: white;
  }
  
  .hero-slider__btn--secondary {
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
  }
}
/* H
ero Slider Integration Styles */
#hero {
  padding: 0;
  margin: 0;
  position: relative;
}

/* Ensure smooth scrolling to sections */
html {
  scroll-behavior: smooth;
}

/* Adjust header positioning for hero slider */
.header.sticky-top {
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure hero slider is below header */
.hero-slider {
  position: relative;
  z-index: 1;
}

/* Enhanced section spacing */
.about.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Ensure proper font loading */
.hero-slider__title,
.hero-slider__subtitle {
  font-display: swap;
}

/* Performance optimizations */
.hero-slider__slide img {
  will-change: transform, filter;
  transform: translateZ(0);
}

/* Modern viewport units for better mobile support */
@media (max-width: 768px) {
  .hero-slider {
    height: 80dvh;
    min-height: 500px;
    max-height: 700px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 70dvh;
    min-height: 450px;
    max-height: 600px;
  }
}

/* Fallback for browsers that don't support dvh */
@supports not (height: 1dvh) {
  @media (max-width: 768px) {
    .hero-slider {
      height: 80vh;
    }
  }
  
  @media (max-width: 480px) {
    .hero-slider {
      height: 70vh;
    }
  }
}

/* Icon navigation enhancements */
.hero-slider__nav i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Enhanced visual balance for different screen sizes */
@media (min-width: 1200px) {
  .hero-slider {
    height: 100vh;
    min-height: 700px;
    max-height: 900px;
  }
}

@media (min-width: 1400px) {
  .hero-slider {
    height: 95vh;
    min-height: 750px;
    max-height: 950px;
  }
}

@media (max-width: 768px) {
  .about.section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/* See More Partners Button Styling */
.btn-outline-secondary[href="partners.html"] {
  font-size: 0.9rem !important;
}

/* See More Partners Button Hover Effect */
.btn-outline-secondary[href="partners.html"]:hover {
  background-color: #000000 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}