:root {
  --color-primary: #005B99;
  --color-secondary: #002B47;
  --color-tertiary: #B8DFFF;
  --color-orange: #F5A92F;
  --color-orange-hover: #b77203;
  --text-color: #17181A;
  --gray-100: #989BA7;
}

swiper-container {
  width: 100%;
  height: auto;
}

swiper-slide {
  background-position: center;
  background-size: cover;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 5;
}

#hero .swiper-button-next, .swiper-rtl .swiper-button-prev{
  bottom: 3rem !important;
  top: initial;
  right: 4rem;
  background: var(--color-orange);
  padding: 0.6rem 1.1rem;
  color: white;
}

#hero .swiper-button-prev, .swiper-rtl .swiper-button-next {
  bottom: 3rem !important;
  top: initial;
  right: 8.5rem;
  background: var(--color-orange);
  padding: 0.6rem 1.1rem;
  color: white;
  left: initial;
}

.heroslider_caption {
  position: absolute;
  top: 50%;
  margin: 0 5rem;
  color: white;
  transform: translateY(-50%);
  width: 40%;
  row-gap: 25px;
  display: flex;
  flex-direction: column;
}
.heroslider_caption h1 {
  font-size: 4rem;
}

.heroslider_caption .hero_cta {
  display: flex;
  gap: 20px;
}
.heroslider_caption .hero_cta .btn-primary {
  background: var(--color-primary);
  color: #FFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.heroslider_caption .hero_cta .btn-primary:hover {
  background: var(--color-secondary);
  transition: all 0.3s ease;
}
.heroslider_caption .hero_cta .btn-secondary {
  background: var(--color-orange);
  color: var(--text-color);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.heroslider_caption .hero_cta .btn-secondary:hover {
  background: var(--color-orange-hover);
  transition: all 0.3s ease;
}

@media(max-width: 592px) {
  .heroslider_caption {
      margin: 0 3rem;
      width: 80%;
      row-gap: 7px;
  }
  .heroslider_caption h1 {
      font-size: 1.6rem;
      line-height: 25px;
  }
  .heroslider_caption p {
      font-size: 16px;
      line-height: 22px;
  }
  .heroslider_caption .hero_cta .btn-primary { font-size: .9em;}
}

@media(min-width: 593px) and (max-width: 769px) {
  .heroslider_caption {
    width: 70%;
  }
  .heroslider_caption h1 {
    font-size: 2.6rem;
    line-height: 1em;
  }
  .heroslider_caption p {
    line-height: 20px;
    font-size: 18px;
  }
}

@media(min-width: 770px) and (max-width: 1025px) {
  .heroslider_caption {
    width: 60%;
  }
 .heroslider_caption p { font-size: 18px; line-height: 20px;}
 .heroslider_caption h1 {
    font-size: 2.3rem;
    line-height: 37px;
  }
  swiper-slide img {
    aspect-ratio: 16 / 6;
  }
}
