@font-face {
  font-family: 'Barlow Regular';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Regular'), url('../fonts/Barlow-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Medium'), url('../fonts/Barlow-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Barlow SemiBold';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow SemiBold'), url('../fonts/Barlow-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Barlow Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Barlow Bold'), url('../fonts/Barlow-Bold.woff') format('woff');
}



body {
  font-family: 'Barlow Regular', sans-serif !important;
  font-size: 1vw;
  background-color: #dcdadc;
}

header {
  position: fixed;
  display: inline-block;
  bottom: 21px;
  right: 27px;
  z-index: 20000;
  pointer-events: none;
}

header img {
  max-width: 125px;
  height: auto;
  display: block;
}

video {
  position: fixed;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}


.page-anim img,
#page-category video {
  position: fixed;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.page-title {
  position: fixed;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 73px;
  z-index: 1060;
}

.page-title span, .menu-top span {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none;
}


.page-title .col-left {
  background: url('../images/title-l.png') no-repeat left top;
  width: 81px;
  height: 100%;
}

.page-title .col-right {
  background: url('../images/title-r.png') no-repeat left top;
  width: 81px;
  min-width: 81px;
  height: 100%;
}

.col-title {
  background: url('../images/title-bg.png') repeat-x left top;
  height: 100%;
  flex-grow: 6;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}


#title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: -webkit-linear-gradient(45deg, #ce163f, #fe7001);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.05em; /* spacing for non-home pages */
  line-height: 1.1; /* increase interline feel */
  gap: 0.25rem; /* extra spacing between lines */
  font-family: 'Barlow Medium';
  font-size: 1.2rem;
}

.title-line-1 {
  font-family: 'Barlow Regular';
  font-size: 1.2rem; /* reduced */
  letter-spacing: 0;
  line-height: 1.1;
}

.title-line-2 {
  font-family: 'Barlow SemiBold';
  font-size: 1.2rem; /* reduced to match line 1 */
  letter-spacing: 0.05em; /* Photoshop tracking 50 ≈ 0.05em */
  line-height: 1.1;
}

.hotspot {
  display: inline-block;
  position: absolute;
  cursor: pointer;
  direction: row;
}

.hotspot a.icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

/* should rework */
.hotspot:hover a.icon {
  width: 42px;
  height: 42px;
}

.hotspot a.icon {
  background: transparent url('../images/btn-plus.png') no-repeat -42px 0;
  background-size: 84px 42px;
}

.hotspot:hover a.icon {
  background: transparent url('../images/btn-plus.png') no-repeat 0 0;
  background-size: 84px 42px;
}

.hotspot a.icon-book {
  background: transparent url('../images/btn-book.png') no-repeat -42px 0;
  background-size: 84px 42px;
}

.hotspot:hover a.icon-book {
  background: transparent url('../images/btn-book.png') no-repeat 0 0;
  background-size: 84px 42px;
}

.hotspot a.icon-i {
  background: transparent url('../images/btn-i.png') no-repeat -42px 0;
  background-size: 84px 42px;
}

.hotspot:hover a.icon-i {
  background: transparent url('../images/btn-i.png') no-repeat 0 0;
  background-size: 84px 42px;
}

.hotspot {
  display: inline-block;
  position: absolute;
  cursor: pointer;
  direction: row;
}

.hotspot-category {
  display: flex;
  justify-content: center;
  position: absolute;
}

.hotspot-popover-right {
  position: absolute;
  right: 30px;
}

.hotspot-popover-right div {
  padding-left: 0;
  padding-right: 20px;
}

.hotspot-popover-left {
  margin-left: -20px;
}
/* Always show popovers like the reference */
.hotspot-popover { display: block !important; }

.hotspot-popover div {
  font-family: 'Barlow Regular';
  font-size: 0.85rem;
  height: 42px;
  width: 560px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #cd163f;
  color: #ffffff;
  border: none;
  border-radius: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  text-align: left;
  padding: 16px 16px 16px 35px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hotspot-popover-auto div {
  width: auto;
  min-width: fit-content;
  padding: 16px 20px 16px 35px;
}

.hotspot:hover .hotspot-popover div {
  background-color: #ffffff;
  color: #cd163f;
}

.hotspot-label-only {
  pointer-events: none;
}

body.hotspot-drag-mode .hotspot-label-only {
  pointer-events: auto;
}

.hotspot-label-shell {
  display: inline-block;
  background: linear-gradient(180deg, #ef732c, #ce153f);
  padding: 1.5px;
  border-radius: 13px;
  overflow: hidden;
}

.hotspot-label-inner {
  background: #fff;
  border-radius: 11px;
  padding: 0 16px;
  min-width: 140px;
  height: 42px;
  text-align: center;
  font-family: 'Barlow Regular';
  font-size: 1rem;
  line-height: 1;
  color: #cd163f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-label-inner span {
  display: inline-block;
  width: 100%;
}

/* Hotspot drag/dev mode */
body.hotspot-drag-mode .hotspot-category {
  cursor: grab;
}

body.hotspot-drag-mode .hotspot-category.dragging {
  cursor: grabbing;
}

.hotspot-drag-label {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  max-width: 260px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1300;
  pointer-events: auto;
}

body.hotspot-drag-mode .hotspot-drag-label {
  display: flex;
}

.drag-label-title {
  font-family: 'Barlow SemiBold';
  font-size: 0.75rem;
}

.drag-label-values {
  font-family: 'Barlow Regular';
}

.hotspot-drag-label button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.hotspot-drag-label button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hotspot-dev-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 260px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  z-index: 2000;
  font-family: 'Barlow Regular';
  backdrop-filter: blur(4px);
}

.hotspot-dev-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.hotspot-dev-panel__header button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.hotspot-dev-panel__header button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hotspot-dev-panel__output {
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.68rem;
  padding: 6px;
  resize: none;
}

.hotspot-dev-panel__tip {
  font-size: 0.65rem;
  margin-top: 6px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
}

.hotspot-dev-panel__tip code {
  font-family: 'Barlow SemiBold';
  color: #ffcf88;
}

/* removed sidebar menu styles */


.sidebar-toggled {
  left: 310px;
}

.modal.right .modal-dialog,
.modal.left .modal-dialog {
  position: fixed;
  left: 0;
  bottom: 10%;
  margin: auto;
  width: 123px;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.modal.right.fade.show .modal-dialog {
  left: 0;
}


.modal.right .modal-content {
  height: 100%;
  background: -webkit-linear-gradient(30deg, #D83C3C, #D9453B, #DA403B);
  border-radius: 0;
  position: relative;
}

#menuModal {
  position: relative;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1040;
}

.close {
  content: '';
  background: linear-gradient(107deg,#DA403B,#D46030, #CE612E);
  line-height: 0.9em;
  font-size: 3rem;
  font-weight: 300;
  color: #ffffff;
  text-shadow: none;
  background-position: center;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  position: absolute;
  border: none;
  right: -42px;
  top: 0;
  height: 40px;
  width: 44px;
}

.btn-home {
  position: absolute;
  left: 0;
  top: 68px;
  background: transparent url('../images/i-home.png') no-repeat 12px center;
  height: 46px;
  width: 55px;
  display: flex;
  align-items: center;
  font-family: 'Avenir Next LT Pro Bold';
  z-index: 1001;
  cursor: pointer;
}

.btn-home span {
  display: none;
}

.btn-home:hover {
  background-color: #ce1c3f;
  width: 55px;
  border-radius: 0 5px 5px 0;
}

.modal-close {
  content: '';
  background: url('../../assets/images/close.png') no-repeat;
  background-color: #fff;
  color: #ffffff;
  text-shadow: none;
  background-position: center;
  background-size: 45%;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  position: absolute;
  border: none;
  right: -42px;
  top: 0;
  height: 32px;
  width: 36px;
}


.main-menu-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.main-menu-item {
  height: 25%;
  display: flex;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #9c9c9c;
  padding: 10px 5px 0 5px;
  border: solid 2px #9c9c9c;
}

.main-menu-item p {
  font-family: 'Barlow Regular';
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 10px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none;

}

.main-menu-item:hover {
  border: solid 2px #fff;
}

.main-menu-item-active {
  clip-path: polygon(80% 0, 100% 24%, 100% 100%, 0 100%, 0 0);
  background-color: #fff;
  border: solid 2px #fff;
}

.application-status-title {
  position: fixed;
  top: 13px;
  right: -235px;
  width: 297px;
  z-index: 1060;
  height: 68px;
  background: url('../images/btn-application-status.png') no-repeat 0 0;
}


.modal-content {
  border-radius: 0;
  border: none;
}

#menuModal .nav-item {
  background-color: transparent;
  width: auto;
  position: relative;
  display: inline-block;
  height: auto;
  padding: 8px 12px;
  margin: 0 16px 0 16px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid #fad9c8;
  font-family: 'Avenir Next LT Pro Medium';
  font-size: 0.9rem;
  color: #ffffff;
}

#menuModal .nav-item:first-of-type {
  border-top: 1px solid #fad9c8;
}

#menuModal .nav-item:hover {
  background-color: #f8caaf;
  color: #000000;
  border-top: 1px solid #e8d1c3;
  margin: 0 16px 0 16px;
}

.solutions.modal {
  top: 120px;
  z-index: 1050;
}

.solutions.modal {
  max-height: 100%;

}

.solutions .modal-content {
  background-color: transparent;
  font-family: 'Barlow Regular';
  overflow: visible;
}

#pdfModal {
  z-index: 1050;
}

#pdfModal .modal-dialog {
  max-width: 1200px;
}

#pdfModal .modal-content {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 22px 25px;
  border-radius: 25px 0 25px 25px;
  position: relative;
  overflow: visible;
}

#pdfModal .modal-body {
  padding: 0;
  overflow: hidden;
  height: 70vh;
}

#pdfModal embed {
  width: 100%;
  height: 100%;
  border: none;
}

#pdfModal .modal-close {
  right: -42px;
  top: 0;
}

.solutions .modal-body {
  padding: 0;
  margin: 0;
  list-style: none;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  font-size: 0.9rem;
  overflow: visible;
}

@media (min-width: 576px) {
  .solutions .modal-dialog {
    max-width: 1390px;
    overflow: visible;
  }
}

#videoModal .modal-dialog {
  max-width: 80%;
  margin: 30px auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .btn-close {
  z-index: 1000;
  border: 2px solid #ffffff;
  position: absolute;
  right: -35px;
  top: 0;
  color: #ffffff;
  border-radius: 30px;
  background-color: #ffffff;
}

.col-content .row {
  width: 100%;
  height: 100%;
}

.col-content .col:first-child {
  text-align: left;
}

.col-content .col:last-child {
  text-align: right;
}

.col-content {
  background-color: transparent;
  border: none;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-right: 23px;
  position: relative;
  overflow: visible;
  flex: 1;
  min-width: 0;
  min-height: 720px;
  display: flex;
  flex-direction: column;
}

.modal-all-content {
  padding: 0;
  max-height: 720px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-top-left-radius: 15px;
  overflow: hidden;
  position: relative;
}

.col-content h1 {
  font-family: 'Barlow Bold';
  font-size: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: #fff;
  margin: 0;
  padding: 27px 27px 0 27px;
  position: relative;
  z-index: 1;
  border-top-left-radius: 15px;
  overflow: visible;
  flex-shrink: 0;
}

.modal-all-content .title-icon {
  width: 48px;
  height: auto;
  flex-shrink: 0;
  position: absolute;
  right: 27px;
  top: 35px;
  z-index: 2;
}

.col-content h4.subtitle-blue {
  font-family: 'Barlow Medium';
  font-size: 1.2rem;
  color: #003e7e;
  background-color: #fff;
  margin: 0;
  padding: 10px 27px 20px 27px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.modal-all-content-scrollable {
  background-color: #f4f4f4;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 27px 27px 27px;
  border-bottom-left-radius: 15px;
}

.col-content p.main-text {
  font-family: 'Barlow Regular';
  font-size: 1.05rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
}

.col-content h5 {
  font-family: 'Barlow Regular';
}

.col-content a {
  font-family: 'Barlow Medium';
}

.anchors li {
  font-size: 1.2rem;
}

.col-content .headers {
  color: #d43559;
  display: grid;
  grid-template-columns: 1fr 2% 1fr;
  font-family: 'Barlow Medium';
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0 !important;
}

.col-content .headers span:first-child {
  grid-column: 1;
  padding-left: 15px;
}

.col-content .headers span:last-child {
  grid-column: 3;
  text-align: right;
}

.col-content span {
  display: flex;
  gap: 5px
}

.anchors-content {
  overflow: visible;
  display: grid;
  gap: 9px;
  flex: 1;
  min-height: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  position: relative;
}

.anchors-content::after {
  content: '';
  display: block;
  height: 20px;
  width: 100%;
}

.anchors-content h4 {
  font-family: 'Barlow SemiBold';
  font-size: 1.1rem;
}

.anchor-item {
  background: #e5e5e5;
  border: solid 1px #fff;
  border-radius: 10px;
  padding: 20px 27px 27px 27px;
}

.anchors-content > .anchor-item:last-child {
  margin-bottom: 0;
}

.anchor-item-content {
  display: grid;
  grid-template-columns: 1fr 2% 1fr;
  gap: 18px;
}

.anchor-item li {
  font-family: 'Barlow Regular';
  font-size: 1rem;
}

.anchor-item-content-right {
  display: flex;
  flex-direction: column;
}

.anchor-item-content-right li {
  font-family: 'Barlow Medium';
  font-size: 1rem;
  line-height: 1.5;
}

.col-img {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  flex-basis: auto;
  width: auto;
}

.col-img img {
  width: auto;
  height: auto;
  max-height: 720px;
  display: block;
  object-fit: contain;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.btn-back {
  position: absolute;
  left: 0;
  top: 120px;
  background: transparent url(../images/btn-back.png) no-repeat 12px center;
  height: 46px;
  width: 55px;
  display: flex;
  align-items: center;
  font-family: avenir next lt pro bold;
  z-index: 1001;
  cursor: pointer
}

.btn-home span,.btn-back span {
  display: none
}

.btn-home:hover,.btn-back:hover {
  background-color: #ce1c3f;
  width: 55px;
  border-radius: 0 5px 5px 0
}
