/* Best Soft Company branding */
.navbar-brand.logo-text {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  padding-top: 4px;
}
.logo-main {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #1fa3a8;
  text-transform: uppercase;
}
.logo-sub {
  display: none !important;
}
.sidebar-logo .logo-text .logo-main { color: #fff; }

/* Hero slider — visible before Owl init + CSS crossfade fallback */
.hero-slider.owl-carousel:not(.owl-loaded) {
  display: block !important;
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.hero-slider.owl-carousel:not(.owl-loaded) .hero-single {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
}
.hero-slider.owl-carousel:not(.owl-loaded) .hero-single:nth-child(1) {
  animation: bsHeroFade1 10s infinite;
  z-index: 2;
}
.hero-slider.owl-carousel:not(.owl-loaded) .hero-single:nth-child(2) {
  animation: bsHeroFade2 10s infinite;
  z-index: 1;
}
@keyframes bsHeroFade1 {
  0%, 48% { opacity: 1; visibility: visible; }
  52%, 100% { opacity: 0; visibility: hidden; }
}
@keyframes bsHeroFade2 {
  0%, 48% { opacity: 0; visibility: hidden; }
  52%, 100% { opacity: 1; visibility: visible; }
}
.hero-slider.owl-loaded .hero-single {
  height: 100%;
}
.hero-section {
  position: relative;
  min-height: 520px;
}
.hero-single {
  background-size: cover !important;
  background-position: center center !important;
}
.hero-slider .owl-nav button {
  opacity: 1;
}
.hero-slider .owl-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 5;
}
