/* Vietnor offline base layout (replaces Creatium vendors/default/nodes) */

@font-face {
  font-family: "TTNorms";
  src: url("../vendor/static.creatium.app/fonts/ttnorms/343165_4_0.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "TTNorms Bold";
  src: url("../vendor/static.creatium.app/fonts/ttnorms/343165_D_0.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "TTNorms";
  src: url("../vendor/static.creatium.app/fonts/ttnorms/343165_F_0.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "TTNorms";
  src: url("../vendor/static.creatium.app/fonts/ttnorms/343165_B_0.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Manrope, "TTNorms", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.area {
  min-height: 100vh;
  position: relative;
}

.area-wrapper {
  width: 100%;
}

.node {
  position: relative;
}

.node > .wrapper1,
.node > .wrapper2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.node > .container,
.node > .slider-root,
.node > .padding_top,
.node > .padding_bottom {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1710px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.cont {
  width: 100%;
}

.grid {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

.grid.valign-middle {
  align-items: center;
}

.grid.valign-top {
  align-items: flex-start;
}

.grid.valign-bottom {
  align-items: flex-end;
}

.gridwrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: inherit;
}

.col {
  flex-shrink: 0;
  max-width: 100%;
}

/* Creatium element grids (from nodes.css — required for card layouts) */
.w-elements-grid > .cont {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.w-elements-grid > .cont > .node,
.w-elements-grid > .cont > .node > .cont,
.w-elements-grid > .cont > .node > a,
.w-elements-grid > .cont > .node > a > .cont {
  display: flex;
  max-width: 100%;
  flex-direction: column;
}

.w-elements-grid > .cont > .node > .cont,
.w-elements-grid > .cont > .node > a,
.w-elements-grid > .cont > .node > a > .cont {
  flex-grow: 1;
}

.w-elements-grid.valign-top > .cont {
  align-items: flex-start;
}

.w-elements-grid.valign-middle > .cont {
  align-items: center;
}

.w-elements-grid.valign-bottom > .cont {
  align-items: flex-end;
}

.w-elements-grid.valign-stretch > .cont {
  align-items: stretch;
}

.w-elements-grid.halign-left > .cont {
  justify-content: flex-start;
}

.w-elements-grid.halign-center > .cont {
  justify-content: center;
}

.w-elements-grid.halign-right > .cont {
  justify-content: flex-end;
}

.widget-element > a {
  text-decoration: inherit;
  color: inherit;
}

.widget-imagedtext .tbl {
  display: table;
  width: 100%;
}

.widget-imagedtext .td {
  display: table-cell;
  vertical-align: middle;
}

body.area.screen-xs .grid.xs-wrap > .gridwrap > .col,
body.area.screen-xs .xs-wrap > .gridwrap > .col {
  flex-basis: 100%;
  width: 100% !important;
}

body.area.screen-xs .xs-hidden,
body.area.screen-sm .sm-hidden,
body.area.screen-md .md-hidden,
body.area.screen-lg .lg-hidden {
  display: none !important;
}

/* Desktop layout: fluid container when viewport < design canvas (1650px) */
@media (max-width: 1649px) {
  body.area.screen-lg {
    min-width: 0 !important;
  }

  body.area.screen-lg .container,
  body.area.screen-lg .container.soft {
    width: 100% !important;
    max-width: 1650px !important;
    box-sizing: border-box;
  }
}

@media (max-width: 1417px) {
  body.area.screen-md {
    min-width: 0 !important;
  }

  body.area.screen-md .container,
  body.area.screen-md .container.soft {
    width: 100% !important;
    max-width: 1418px !important;
    box-sizing: border-box;
  }
}

.w-menu-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.w-menu-grid.justify {
  justify-content: center;
}

.w-menu-grid.left {
  justify-content: flex-start;
}

.button-container {
  display: inline-block;
}

.button-wrapper {
  display: inline-flex;
  align-items: center;
}

.btn {
  cursor: pointer;
  border: none;
  background: transparent;
  font: inherit;
  display: inline-flex;
  align-items: center;
  text-align: center;
}

.btn .btn-content {
  display: inline-flex;
  align-items: center;
}

.bgnormal img,
.widget-image img {
  width: 100%;
}

.roundimage .round {
  position: relative;
  overflow: hidden;
}

.roundimage .round img {
  width: 100%;
  height: auto;
  opacity: 0;
}

/* Hero / section slider */
.section-slider,
.cr-section-slider {
  position: relative;
  overflow: hidden;
}

.slider-root {
  position: relative;
}

.section-slider .swiper-container,
.slider-root .swiper-container {
  width: 100%;
  min-height: 400px;
}

.swiper-slide.stretched {
  height: auto;
  min-height: 400px;
}

.widget-slide > .wrapper1 {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
}

.widget-slide .slide-root {
  position: relative;
  z-index: 2;
  min-height: 400px;
}

.s-slider1-previous,
.s-slider1-next {
  cursor: pointer;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.s-slider1-previous {
  left: 16px;
}

.s-slider1-next {
  right: 16px;
}

.s-slider1-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.s-slider1-page {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.s-slider1-page.is-active {
  background: rgb(0, 47, 168);
}

/* Font Awesome arrow fallback */
.icon i.fas.fa-angle-right::before {
  content: "›";
  font-style: normal;
  font-family: inherit;
  font-weight: 700;
}

.modal.is-open {
  display: flex !important;
}

.modal .cont,
.modal .w-menu-grid {
  padding: 8px 0;
}

.modal .btn {
  width: 100%;
  justify-content: center;
  padding: 10px;
}

.vn-modal-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vn-modal-nav a {
  display: block;
  text-align: center;
  padding: 12px;
  background: rgb(0, 47, 168);
  color: #fff !important;
  border-radius: 8px;
}

.vn-modal-inner h3 {
  color: #001233;
}

.s-slider1-pagination {
  z-index: 10;
}

/* Zero sections */
.node.widget-zero,
.section-zero {
  position: relative;
  overflow: hidden;
}

.zero-grid {
  position: relative;
  min-height: 200px;
}

.zero-layer {
  position: absolute;
  z-index: 2;
}

.zero-layer-frame {
  position: relative;
}

.layer-image img {
  max-width: 100%;
}

/* Modals */
.modal,
[data-type="modal"],
[data-type="popover"] {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open,
[data-type="modal"].is-open,
[data-type="popover"].is-open {
  display: flex;
}

.modal > div,
.modal .cont {
  background: #fff;
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  color: #222;
}

/* Sticky header */
.node[data-fixation] {
  position: sticky;
  top: 0;
  z-index: 9000;
}

/* Social icons fallback */
.soc-icon .link {
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

.soc-icon .link .bg {
  display: block;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  position: relative;
}

.soc-icon .link.fb .bg::after {
  content: "f";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: Arial, sans-serif;
  color: #fff;
}

.soc-icon .link.in .bg::after {
  content: "◎";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

/* Cookie bar */
.vn-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(0, 18, 67, 0.95);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.vn-cookie-bar button {
  background: #fff;
  color: #001233;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.vn-cookie-bar.is-hidden {
  display: none;
}

/* Hamburger menu */
.metahtml.css4 .hamburger1-altmenu {
  display: none;
  padding: 12px 0;
}

.metahtml.css4 .hamburger1-altmenu.is-open {
  display: block;
}

.hamburger1-altmenu .w-menu-grid {
  flex-direction: column;
  align-items: stretch;
}

/* Tabs swiper */
.tabs5-container {
  width: 100%;
  overflow: hidden;
}

/* Text defaults */
.textable {
  margin: 0;
}

h1.textable,
h2.textable,
h3.textable,
p.textable {
  word-wrap: break-word;
}

/* Swiper pagination bullets */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: rgb(0, 47, 168);
}

@media (max-width: 767px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-slider .swiper-container,
  .widget-slide .slide-root {
    min-height: 280px;
  }
}
