/* Basic styles */
:root {
  --brand: #24538c;
  --brand-dark: #1d4678;
  --muted: #6c757d;
  --accent: #ff7a00;
  --bg: #ffffff;
  --header-height-sm: 104px;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding-top: var(--header-height-sm);
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}
a {
  color: var(--brand);
  text-decoration: none;
}

joomla-hidden-mail {
  font-size: 0;
}
joomla-hidden-mail a {
  font-size: 16px;
}
.footer-contacts joomla-hidden-mail a {
  font-size: 18px;
  color: #5da6ff !important;
}

/* Other styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  background: rgba(244, 244, 244, 0.85);
  border-bottom: 1px solid rgba(20, 30, 40, 0.05);
  backdrop-filter: blur(6px);
}
.mod-languages .lang-inline li a {
  display: inline-block;
  padding: 2px 10px 5px;
  border-radius: 0 0 50% 50%;
  background: #ffffff;
  text-align: center;
  font-size: 13px;
  color: #000;
}
.mod-languages .lang-inline li a:hover,
.mod-languages ul li:hover {
  border-radius: 0 0 50% 50%;
  color: #ffffff;
  background-color: #2b9adb !important;
}
.mod-languages .lang-inline li:last-child {
  margin-right: 0;
}
.mod-languages ul li.lang-active,
.mod-languages ul li.lang-active a {
  background-color: #0084d1 !important;
  border-radius: 0 0 50% 50%;
}
.mod-languages ul li.lang-active a {
  color: #ffffff;
}

.logo {
  max-width: 150px;
  max-height: 72px;
  display: block;
  margin-bottom: 4px;
}
.menu-container .collapse.show {
  position: absolute;
  background-color: #24538c;
  top: -28px;
  left: 0;
  width: 100vw;
  height: auto;
  z-index: 1;
}
.contacts-container .content {
  margin-left: 16px;
}

.wms-contacts-page .card-header {
  background-color: #0084d1;
  color: #ffffff;
  font-weight: 600;
}

.wms-contacts-page .card {
  border: 1px solid #0084d1;
}

.card-header:first-child,
.card,
.form-select {
  border-radius: 0;
}

.navbar .mobile-menu {
  background-color: #24538c;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1050;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
}
.navbar .mobile-menu .nav-link {
  display: flex;
  align-items: center;
  text-align: center;
  height: 100%;
  color: #ffffff;
  padding: 0.75rem 1rem;
  background-color: unset;
}
.navbar .mobile-menu:not(.show) .nav-link,
.navbar .mobile-menu:not(.collapsing) .nav-link {
  color: #2c2c2c;
}
.navbar .mobile-menu:not(.show) .nav-item:hover,
.navbar .mobile-menu:not(.collapsing) .nav-item:hover {
  background-color: #0079bf;
}
.navbar .mobile-menu:not(.show) .active > .nav-item,
.navbar .mobile-menu:not(.collapsing) .active > .nav-item {
  background-color: #0084d1;
}
.navbar .mobile-menu:not(.show) .nav-link:hover,
.navbar .mobile-menu:not(.collapsing) .nav-link:hover {
  color: #ffffff;
  background-color: #0079bf;
}
.navbar .mobile-menu:not(.show) .active > .nav-link,
.navbar .mobile-menu:not(.collapsing) .active > .nav-link {
  color: #ffffff;
  background-color: #0084d1;
  display: inline-flex;
}
.navbar .mobile-menu.show .nav-link,
.navbar .mobile-menu.collapsing .nav-link {
  color: #ffffff;
}
.navbar .mobile-menu:not(.show) .nav-item.has-children .nav-item:hover a {
  color: #ffffff;
}
.nav-item.has-children:has(.active) > .nav-link {
  background-color: #0084d1;
  color: #ffffff;
}
.nav-item.has-children:has(.active) > .nav-subtoggle {
  background-color: #0084d1;
}
.nav-item.has-children:has(.active) > .nav-subtoggle svg {
  fill: #ffffff;
}
.nav-item.has-children:hover {
  background-color: #0079bf;
  color: #ffffff;
}
.nav-item.has-children:hover > .nav-link {
  color: #ffffff;
}
.nav-item.has-children > .nav-subtoggle:hover {
  background-color: #0079bf;
  color: #ffffff;
}

@media (min-width: 991.98px) {
  .navbar .mobile-menu {
    position: static;
    background: none;
  }
}
.burger-menu {
  z-index: 1060;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.default-img {
  align-self: center;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 46px;
  -ms-flex: 0 0 46px;
  flex: 0 0 46px;
  max-width: 46px;
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.default-img img {
  max-width: 18px;
  max-height: 18px;
}
.burger-menu span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -8px);
}
.burger-menu span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -1px);
}
.burger-menu span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, 6px);
}
.burger-menu span {
  background: #24538c;
}
.burger-menu span {
  display: none;
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #000;
  transform: translateX(-50%);
}
.burger-menu:not(.collapsed) span:nth-child(1) {
  transform: translate(-50%, -1px) rotate(45deg);
}
.burger-menu:not(.collapsed) span:nth-child(2) {
  opacity: 0;
}
.burger-menu:not(.collapsed) span:nth-child(3) {
  transform: translate(-50%, -1px) rotate(-45deg);
}
.collapse.show .mod-list,
.collapsing .mod-list {
  padding: 18px 0;
  margin: 0 auto;
  max-width: 200px;
  flex-direction: column;
  text-align: left;
}
.submenu-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

.nav-item {
  display: flex;
  align-items: center;
}
.nav-item.current {
  background-color: #0084d1;
}
.nav-item.current > .nav-link {
  color: #ffffff !important;
}
.navbar-nav .has-children {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar-nav .has-children > .nav-link {
  display: inline-flex;
  align-items: center;
}

.navbar-nav .nav-subtoggle {
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0.85rem;
}
.navbar-nav .nav-subtoggle:hover {
  background-color: #0084d1;
}

.navbar-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  list-style: none;
  background-color: #f0f0f0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  z-index: 1050;
  display: none;
}

.navbar-nav .submenu.show {
  display: block;
}
.navbar-collapse.mobile-menu.collapse.show .submenu {
  background-color: #24538c;
}
.navbar-collapse.mobile-menu.collapse.show .submenu .nav-link {
  margin-left: 18px;
}

.navbar-nav .submenu > li > .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.navbar-nav .submenu > li > .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.navbar-nav .nav-subtoggle svg {
  fill: #2c2c2c;
  transition: transform 0.2s ease;
}
.nav-item.current .nav-subtoggle svg,
.nav-item.has-children:hover .nav-subtoggle svg {
  fill: #ffffff;
}

.navbar-nav .has-children .nav-subtoggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.breadcrumb {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0;
}

.btn-modern {
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(36, 83, 140, 0.12);
  border: none;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.btn-modern:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(36, 83, 140, 0.14);
  opacity: 0.98;
}
.btn-modern:focus,
.btn-modern:focus-visible,
.btn-modern:active,
.btn-modern:visited {
  color: #fff;
  text-decoration: none;
  outline: 2px solid rgba(255, 255, 255, 0.12);
  outline-offset: 2px;
}

.hero {
  color: #fff;
  min-height: calc(100vh - 104px);
}
.hero .carousel-item {
  height: calc(100vh - 104px);
  min-height: 500px;
  position: relative;
}
.hero .overlay,
.services .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35));
  z-index: 1;
}
.hero .carousel-caption .caption-content {
  position: relative;
  text-align: left;
  max-width: 800px;
  z-index: 2;
  opacity: 1 !important;
  filter: none !important;
}
.hero .carousel-item-next .slide-content,
.hero .carousel-item-prev .slide-content,
.hero .carousel-caption-title,
.hero .carousel-caption-subtitle,
.hero .carousel-item-start,
.hero .carousel-item-end {
  opacity: 1 !important;
  filter: none !important;
}
.wt-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.com-content-article.item-page {
  background-color: #ffffff;
}
.com-content-article.item-page .page-header h1 {
  text-align: center;
}
.content-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.175);
  position: relative;
  z-index: 1;
  padding: 80px;
}
.with-bg-owerlay .custom {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.with-bg-owerlay .custom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.about-in-numbers {
  border: 1px solid rgba(0, 0, 0, 0.175);
  background-color: #ffffff;
  position: relative;
  z-index: 1;
  padding: 80px;
  margin-bottom: 50px;
}
.about-in-numbers .item-container .item {
  border-bottom: 2px solid;
  border-color: #24538c;
}
.about-in-numbers .item-container .item .i-title {
  color: #24538c;
  font-size: 72px;
  font-weight: 100;
  line-height: 72px;
  margin-bottom: 30px;
}
.about-in-numbers .item-container .item .desc {
  font-size: 18px;
  margin-bottom: 40px;
}

.home-services {
  color: #ffffff;
  background-color: #24538c;
}
.home-services .blog {
  padding-top: 3rem;
}
.home-services .category-title,
.home-services .page-header,
.page .page-header {
  text-align: center;
}
.home-services .blog-item,
.page .blog-item {
  position: relative;
  border: 1px solid #eeeeee;
}
.home-services figure,
.page figure {
  margin: 0;
}
.home-services .item-image img,
.page .item-image img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.home-services .item-content,
.page .item-content {
  position: relative;
}

.page .blog-item,
.page .com-content-article__body {
  color: #ffffff;
}
.page .com-content-article__body {
  background-color: #0084d1;
}
.page .com-content-article__body p {
  font-size: 24px;
}
.page h1 {
  color: #2c2c2c;
  padding: 1.5rem 0 1.5rem 0;
}
.page .page-header h3 a {
  color: #dbeaf8;
}
.page .com-content-article__body {
  padding: 80px;
  border: 1px solid rgba(0, 0, 0, 0.175);
  margin-bottom: 3rem;
}

.callback-services .cta-home {
  border: 2px solid var(--brand);
}

.site-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-footer {
  background-color: #585858;
  padding: 2.5rem 0;
}
.site-footer .mod-menu {
  padding-left: 80px;
  display: flex;
  flex-direction: column;
}
.site-footer li a {
  padding: 0;
  font-size: 18px;
  color: #5da6ff;
}
.site-footer .nav-link:hover,
.site-footer li a:hover,
.footer-copyright a:hover,
.footer-contacts > a:hover {
  color: #ffffff;
}
.site-footer .nav-item.current {
  background-color: transparent;
}
.footer-contacts {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}
.footer-contacts > a,
.footer-copyright a {
  color: #5da6ff;
}
.footer-socials {
  font-size: 0;
  display: flex;
  margin-top: 15px;
  align-items: center;
  justify-content: center;
}
.footer-socials a {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  line-height: 45px;
  text-align: center;
  background: #fff;
  margin: 0 5px;
  border: 2px solid #fff;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.footer-socials a:hover {
  border: 2px solid;
}
.footer-socials img {
  max-width: 12px;
  max-height: 12px;
}
.footer-copyright {
  color: #ffffff;
  padding-right: 80px;
}

.bottom-contact-form {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.175);
}

.bottom-contact-form h3 {
  text-align: center;
  margin-bottom: 3rem;
}

#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background: #0084d1;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(3, 20, 60, 0.18);
  cursor: pointer;
  z-index: 2000;
  transform: translateY(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 260ms;
  pointer-events: none;
}
#backToTop.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#backToTop:hover {
  transform: translateY(-3px) scale(1.02);
}
#backToTop svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: #fff;
}
@media (max-width: 420px) {
  #backToTop {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 575.98px) {
  .navbar .mobile-menu.show .nav-link,
  .navbar .mobile-menu.collapsing .nav-link {
    text-wrap: auto;
    text-align: left;
  }
}
@media (max-width: 767px) {
  .content-wrapper,
  .about-in-numbers {
    padding: 30px 15px;
  }
  .page .com-content-article__body {
    padding: 1rem;
  }
}
@media (max-width: 991.98px) {
  .navbar-brand .logo {
    max-height: 60px !important;
  }
  .navbar-nav .has-children {
    flex-wrap: wrap;
  }
  .navbar-nav .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    border: 0;
  }
  .burger-menu,
  .burger-menu span {
    display: block;
  }
  .navbar .mobile-menu {
    padding: 18px 0;
  }
  .site-footer .mod-menu {
    padding-left: 0;
  }
  .footer-copyright {
    padding-right: 0;
  }
}
@media (max-width: 1199px) {
  .default-img {
    margin-right: 7px;
  }
}
@media (max-width: 1550px) {
  .contacts-container .content {
    display: none !important;
  }
}
@media (min-width: 576px) {
}
@media (min-width: 992px) {
  .navbar .mobile-menu:not(.show) .nav-link,
  .navbar .mobile-menu:not(.collapsing) .nav-link {
    width: 100%;
  }
  .navbar-nav .submenu > li > .nav-link {
    text-align: left;
  }
}
