.hr-hero-banner {
  position: relative;
  margin-top: 0;
  height: 850px;
  overflow: hidden; /* FIX: Prevents the next slides from bleeding vertically below the container */
}
.hr-hero-banner .swiper-container {
  height: 100%;
  position: relative;
  overflow: hidden; /* FIX: Restricts the wrapper bounds */
}
.hr-hero-banner .swiper-container .swiper-slide::after {
  z-index: 1;
  background-color: #fff0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  content: "";
}
.hr-hero-banner .swiper-container .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover !important; /* FIX: Replaced '100% 100%' with 'cover' to prevent aspect-ratio squishing */
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.hr-hero-banner .hr-content {
  padding-top: 200px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hr-hero-banner .swiper-container .swiper-slide-active {
  opacity: 1;
  transform: translateY(0);
}
.slider-bg {
  background-size: cover; /* FIX: Ensures image covers the element completely without repeating */
  background-position: center;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  animation: kenBurns 15s infinite alternate ease-in-out;
  pointer-events: none;
}

/* Base Swiper Resets */
.swiper, 
.swiper-wrapper, 
.swiper-slide {
  touch-action: pan-y !important;
}

.hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-sub-titel {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1px;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .5px;
  position: relative;
  background: rgba(0, 28, 64, .6);
  width: 100%;
  padding: 13px 30px 13px;
}
.hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-titel {
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  background: rgba(0, 28, 64, .6);
  display: inline-block;
  font-family: var(--font-01);
  font-size: 62px;
  padding: 13px 30px;
  margin-bottom: 1px;
}
.hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-titel span {
  color: var(--color-6);
}
.hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-text {
  margin-bottom: 1rem;
  color: var(--white);
  background: rgba(0, 28, 64, .6);
  font-family: var(--font-01);
  font-size: 18px;
  padding: 10px 30px;
  text-transform: capitalize;
  display: inline-block;
  font-weight: 600;
  line-height: 1.5;
}
.hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-btns-wrap {
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.hr-hero-banner .swiper-container .swiper-slide-active .hr-content .hr-btns-wrap {
  opacity: 1;
  transform: translateY(0);
}
.hr-hero-banner .swiper-button-prev {
  left: 50px;
}
.hr-hero-banner .swiper-button-next {
  right: 50px;
}
.hr-desktop-slider .hr-btn.btn-main::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-2);
  left: 11px;
  top: 11px;
  transition: .3s ease-in-out;
  z-index: -1;
}
.hr-desktop-slider .hr-btn.btn-main {
  width: max-content;
  position: relative;
  color: var(--white);
}
.hr-desktop-slider .hr-btn.btn-main:hover::after {
  left: -11px;
  top: -11px;
  transition: .3s ease-in-out;
}
.hr-hero-banner .swiper-button-next,
.hr-hero-banner .swiper-button-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background: rgb(0 0 0 / .1);
  border-radius: 50%;
  color: #fff;
}
.hr-hero-banner .swiper-button-next:hover,
.hr-hero-banner .swiper-button-prev:hover {
  background: var(--color-2);
  color: var(--white);
}
.hr-desktop-slider {
  display: block;
}
.hr-tablet-slider {
  display: none;
}
.hr-mobile-slider {
  display: none;
}
.home-banner-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hr-desktop-slider .swiper-slide .container {
  height: 100%;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.18); }
}

@media(min-width: 1707px) {
  .hr-hero-banner { height: 900px; }
}
@media(max-width: 1200px) {
  .hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-titel { font-size: 40px; }
  .hr-hero-banner .hr-content { padding-top: 150px; }
}
@media screen and (max-width: 1024px) {
  .hr-desktop-slider { display: none; }
  .hr-tablet-slider { display: block; }
  .hr-mobile-slider { display: none; }
  .hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-sub-titel { font-size: .9rem; }
  .hr-hero-banner .swiper-button-prev { left: 15px; }
  .hr-hero-banner .swiper-button-next { right: 15px; }
  .hr-hero-banner .swiper-container .swiper-slide::after { z-index: -1; }
}
@media(max-width: 992px) {
  .hr-hero-banner { height: 690px; }
}
@media(max-width: 767.98px) {
  .hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-text { padding: 10px 10px; }
  .hr-hero-banner { height: 700px; }
  .hr-hero-banner .hr-content { padding-top: 190px; padding-left: 0; }
}
@media screen and (max-width: 480px) {
  .hr-desktop-slider { display: none; }
  .hr-tablet-slider { display: none; }
  .hr-mobile-slider { display: block; }
  .hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-sub-titel { font-size: .8rem; }
  .hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-titel { font-size: 28px; }
  .hr-hero-banner .swiper-container .swiper-slide::after { z-index: -1; }
  .hr-hero-banner .swiper-button-next,
  .hr-hero-banner .swiper-button-prev { display: none; }
  .hr-hero-banner .swiper-container .swiper-slide .hr-content .hr-text { font-size: 16px; }
}