/* === HERO SLIDER - DESKTOP === */
.hero-slider-viewport {
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  background: #101b35;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
}

.slider-content {
  display: flex;
  flex-direction: row;
  width: 600vw; /* for 4 slides: 6 (clones) * 100vw */
  height: 100vh;
  transition: margin-left 0.7s cubic-bezier(.6,.1,0,1);
}

.slide {
  min-width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.slide img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.slide-text {
  position: relative;
  z-index: 2;
  margin: 0 0 6vh 6vw;
  color: #fff;
  background: rgba(10,65,170,0.68);
  padding: 2rem 2.5rem 1.6rem;
  border-radius: 1rem;
  max-width: 65vw;
  box-shadow: 0 2px 16px rgba(0,0,0,0.13);
  font-family: 'Segoe UI', sans-serif;
  backdrop-filter: blur(1px);
}

.slide-text h2 {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
  letter-spacing: 1.5px;
  font-weight: bold;
}

.slide-text p {
  font-size: 1.45rem;
  margin: 0;
  opacity: 0.97;
  font-weight: 500;
}

/* Slider arrows */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-arrow {
  background: rgba(10,65,170,0.78);
  color: #aeacac;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  margin: 0 2vw;
  padding: 0 0 10px 0;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(10,65,170,0.15);
  transition: background 0.2s;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover {
  background: #0a41aa;
  color: #fff;
}

/* Navigation dots */
.navigation-manual {
  position: absolute;
  width: 100vw;
  bottom: 36px;
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  z-index: 12;
}
.manual-btn {
  width: 16px;
  height: 16px;
  background: #587ab8;
  border-radius: 50%;
  border: 2px solid #0a41aa;
  cursor: pointer;
  transition: background 0.3s, border 0.3s;
  outline: none;
  margin: 0 3px;
  opacity: 0.92;
}
.manual-btn.active {
  background: #0a41aa;
}

/* === MOBILE & TABLET - OVERRIDE ONLY WHAT'S NEEDED === */
@media (max-width: 900px) {
  .hero-slider-viewport,
  .hero-slider {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    height: 320px;
    min-height: 180px;
    max-height: 40vh;
  }
  .slider-content {
    width: 600vw;
    height: 320px;
    min-height: 180px;
    max-height: 40vh;
  }
  .slide, .slide img {
    min-width: 100vw;
    width: 100vw;
    height: 320px;
    min-height: 180px;
    max-height: 40vh;
  }
  .slide-text {
    max-width: 92vw;
    margin: 0 0 2vh 2vw;
    font-size: 1rem;
    padding: 0.9rem 0.9rem 0.5rem;
  }
  .slide-text h2 { font-size: 1.3rem;}
  .slide-text p { font-size: 1rem;}
}

@media (max-width: 600px) {
  .hero-slider-viewport,
  .hero-slider {
    height: 180px;
    min-height: 100px;
    max-height: 34vh;
  }
  .slider-content {
    width: 600vw;
    height: 180px;
    min-height: 100px;
    max-height: 34vh;
  }
  .slide, .slide img {
    height: 180px;
    min-height: 100px;
    max-height: 34vh;
  }
  .slide-text {
    margin: 0 0 1vh 1vw;
    padding: 0.5rem 0.5rem;
    font-size: 0.85rem;
    max-width: 98vw;
    border-radius: 8px;
  }
  .slide-text h2 { font-size: 1.05rem;}
  .slide-text p { font-size: 0.74rem;}
  .slider-arrow { font-size: 1.2rem; width: 34px; height: 34px; margin: 0 0.4rem;}
  .manual-btn { width: 11px; height: 11px; }
}

@media (max-width: 400px) {
  .hero-slider-viewport,
  .hero-slider {
    height: 110px;
    min-height: 70px;
    max-height: 24vh;
  }
  .slider-content {
    width: 600vw;
    height: 110px;
    min-height: 70px;
    max-height: 24vh;
  }
  .slide, .slide img {
    height: 110px;
    min-height: 70px;
    max-height: 24vh;
  }
  .slide-text {
    font-size: 0.72rem;
    padding: 0.25rem 0.4rem;
    max-width: 99vw;
  }
  .slide-text h2 { font-size: 0.8rem;}
  .slide-text p { font-size: 0.62rem;}
}
