*,
body {
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
}

html, body {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale  !important;
  text-rendering: optimizeLegibility  !important;
}

.cursore-uq {
  width: 6px;
  height: 6px;
  top: -2px;
  left: -2px;
  border-radius: 100%;
  background-color: #ff9900;
  position: fixed;
  pointer-events: none;
  z-index: 200000;
  -webkit-animation: cursor_opacity 2s;
  animation: cursor_opacity 2s;
  -webkit-transition: -webkit-transform 0.05s ease;
  -o-transition: transform 0.05s ease;
  transition: transform 0.05s ease, -webkit-transform 0.05s ease;
}

html {
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

html::-webkit-scrollbar {
  width: 0px; /* For Chrome, Safari, and Opera */
}

/* @media screen and (max-width:991px) {
    .cursore-uq {
        display: none
    }
} */
.flag {
  margin-right: 20px;
}
.ebooks-button {
  margin-right: 20px;
}

#dropdownDesktop,
#dropdownMobile {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
}

.button-reverse {
  display: flex;
  height: 48px;
  padding: 0px 4px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.button-normal {
  display: flex;
  height: 48px;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #003bba;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  cursor: pointer;
}

.button-normal:hover {
  background-color: #024ae7;
}

.flag-dropdown {
  display: flex;

  color: #616161;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  justify-items: center;
  gap: 10px;
}

.cursore-uq:after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 100%;
  background-color: #ff9900;
  opacity: 0.2;
  left: 50%;
  top: 50%;
  position: fixed;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.rabiloo-logo {
  height: 100%;
  width: 143px;
}

.cursore-uq svg {
  position: relative;
  left: -14px;
  top: -16px;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  opacity: 1;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.cursore-uq.hover:after {
  background-color: #ff9900;
  opacity: 1;
}

.hover {
  opacity: 0.5 !important;
  background-color: #ff9900;
}

.hover:after {
  opacity: 1;
  width: 36px;
  height: 36px;
}

.hover_l {
  height: 37px;
  width: 37px;
  border-radius: 100%;
  background: #fff;
  text-align: center;
  -webkit-box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.4);
  top: -18px;
  left: -18px;
}

.hover_l:after {
  font-family: ElegantIcons;
  content: '\24';
  font-size: 17px;
  line-height: 38px;
  color: #ff9900;
  background: 0 0;
  opacity: 1;
  width: 100%;
  height: 100%;
}

.hover_l svg {
  opacity: 0;
}

.caret-header {
  /* position: static ; */
}
.hover_r {
  height: 37px;
  width: 37px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  -webkit-box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.4);
  top: -18px;
  left: -18px;
}

.hover_r:after {
  font-family: ElegantIcons;
  content: '\23';
  display: inline;
  font-size: 17px;
  line-height: 38px;
  color: #ff9900;
  background: 0 0;
  opacity: 1;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hover_r svg {
  opacity: 0;
}

.hover_tesimonial {
  height: 37px;
  width: 37px;
  border-radius: 100%;
  background: #ff9900;
  text-align: center;
  -webkit-box-shadow: 0 0 0 7px #ff9900;
  box-shadow: 0 0 0 7px #ff9900;
  top: -18px;
  left: -18px;
}

.hover_tesimonial:after {
  font-family: ElegantIcons;
  content: '\31';
  font-size: 20px;
  line-height: 34px;
  color: #fff;
  background: 0 0;
  opacity: 1;
  width: 100%;
  height: 100%;
}

.hover_tesimonial svg {
  opacity: 0;
}

.hover_dark,
.hover_dark:after {
  background-color: #282526;
}

.hover_dark .radial-progress-cover {
  stroke: #282526;
}

.hover_normal,
.hover_normal:after {
  background-color: #ff9900;
}

.hover_normal .radial-progress-cover {
  stroke: #ff9900;
}

.dropdown-header {
  width: 100% !important;
}

.isDropdownHover {
  transform: translate3d(0px, 64px, 0px) !important;
}

.header-top-hover.header-top {
  background: #003bba;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-container {
  width: 100% !important;
  padding-bottom: 48px;
  background: #003bba;
  color: #fff !important;
}

.desktop-header {
  display: flex !important;
  top: 0;
}

.mobile-header {
  display: none !important;
}

.btn_close-form {
  position: absolute;
  right: 10px;
  top: 10px;
}

.form-input-popup {
  /* width: 50%; */
  border-radius: 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px !important;
  width: 630px;
  background: #fff;
  height: 100%;
  padding: 36px;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
  padding-top: 20px !important;
}

.form-submit-input {
  /* width: 50%; */
  border-radius: 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px !important;
  width: 464px;
  background: #fff;
  height: 100%;
}

.dropdown-form {
}

.form-block {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  transform: unset !important;
  background: rgba(255, 255, 255, 0.9);
}

.form-title {
  text-transform: capitalize;
}

.form-wrapper {
  width: calc(50% - 8px);
}

label.block {
  gap: 2px;
  font-weight: 400;

  font-size: 15px;
  line-height: 24px;
  color: #454545;
}

input.input {
  height: 40px;
  padding: 8px 12px;
  font-weight: 400;

  font-size: 15px;
  line-height: 20px;
  border-radius: 8px;
}

input.input::before {
  color: #a8abb2;
  border-radius: 8px;
}

input.input::after {
  color: #2c2c2c;
  border-radius: 8px;
}

.input:hover {
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}

.input:focus {
  border: 1px solid #003bba;
}

textarea:hover {
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}

textarea:focus {
  border: 1px solid #003bba;
}

.invalid-feedback {
  font-weight: 400;

  font-size: 12px;
  line-height: 18px;

  color: #f42500;
}

.textarea {
  padding: 8px 12px;
  font-weight: 400;

  font-size: 15px;
  line-height: 20px;
  border-radius: 8px;
  resize: none;
}

.fqa-title {
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  color: #27292e;
  width: 100%;
}

.textarea::before {
  color: #a8abb2;
}

.textarea::after {
  color: #2c2c2c;
}

.input-placeholder::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #a8abb2;
}

button.submit-button {
  background: #003bba;
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
}

button.submit-button:hover {
  background: #024ae7;
}

/* form */

.submit-button {
  height: 48px;
  padding: 12px 32px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
}

.form-button {
  height: 48px;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  line-height: 18px;
}

.image-header {
  position: relative;
  width: 100%;
  width: 180px;
  height: max-content;
}

.image-header::before {
  content: '';
  display: block;
  padding-bottom: 56.25%;
  /* Set the aspect ratio to 16:9 (56.25% = 9 / 16 * 100) */
}

.image-header img {
  position: absolute;
  border-radius: 16px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  object-fit: cover;
  /* This ensures the image fills the container without distortion */
}

@-webkit-keyframes cursor_opacity {
  0% {
    opacity: 0;
  }

  70% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cursor_opacity {
  0% {
    opacity: 0;
  }

  70% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.max-width {
  max-width: 1252px;
  padding: 0 8px !important;
}

.max-width-header {
  max-width: 1252px;
  padding: 0 8px !important;
}

/* 
.move-up {
    transform: translateY(75px);
    opacity: 0;
    transition: 1s all ease-in;
}

.move-up.active {
    transform: translateX(0);
    opacity: 1;
}

.move-left {
    position: -ms-page;
    transform: translateY(75px);
    opacity: 0;
    transition: 1s all ease-in;
}

.move-left.active {
    transform: translateX(0);
    opacity: 1;
}

.move-right {
    position: relative;
    transform: translateX(-75px);
    opacity: 0;
    transition: 1s all ease-in;
}

.move-right.active {
    transform: translateX(0);
    opacity: 1;
}

.move-down {
    position: relative;
    transform: translateY(-75px);
    opacity: 0;
    transition: 1s all ease-in;
}

.move-down.active {
    transform: translateX(0);
    opacity: 1;
} */

input#nav__input {
  display: none;
}

.nav {
  display: flex;
}

.nav__bar-btn {
  cursor: pointer;
}

/* .nav__mobile {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  max-width: 100vw;
  width: 100%;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: start;
  transform: translateX(-100px);
}

.nav__input:checked + .nav__mobile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0px);
}

.nav__input:checked ~ .nav__mobile {
  transition: transform 0.5s;
  display: flex;
  justify-content: center;
  align-items: start;
} */

.nav__mobile {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #fff;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Hiển thị khi checked */
.nav__input:checked ~ .nav__mobile {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-btn {
  padding-top: 24px;
  padding-bottom: 40px;
  cursor: pointer;
  z-index: 100;
}

.button-v1 {
  background: #003bba;
}

.button-v2 {
  border-color: #003BBA !important;
  color: #003BBA !important;
  /* background-color: #FFFFFF; */
}

.button-v2 div{
  color: #003BBA !important;
}

.button-v2:hover {
  border-color: #024ae7;
}

.button-v2:hover div{
  color: #024ae7;
}

.button-v1:hover {
  background: #024ae7;
}

.popup1_open:hover {
  background: #024ae7 !important;
}

.dropdown-more {
  height: max-content;
}

.menu-wrapper.dropdown-group {
  min-width: 242px;
}

.header-top {
  /* padding: 17px 0 24px 0; */
  color: #ffffff;
  line-height: 100%;
  transition: all 0.5s;
  z-index: 10;
}

.dropdown-more-btn {
  padding: 12px 32px;
  border-radius: 8px;
  border: 1px solid #fff;
  background: #003bba;
  width: fit-content;
  line-height: normal;
  color: #fff;
  font-weight: 500;
}

.dropdown-more-btn:hover {
  color: #fff;
}

.dropdown-more-wrapper {
  color: #fff;
}

.dropdown-more-content {
  max-width: 500px;
  word-wrap: normal;
}

.header-contact-mobile {
  display: none !important;
}
.header-contact-desktop {
  display: flex !important;
}

.menu-open {
  margin-left: 38px;
  width: 25px;
  height: 17px;
}

.menu-close {
  width: 20px;
  height: 20px;
}

.menu-item-selected {
  position: relative;
  color: #ff9900;
  font-weight: 700;
  font-size: 16px;
  line-height: 64px;
}

.menu-item-selected:after {
  content: '';
  position: absolute;
  bottom: -0px;
  left: 0;
  width: 100%;
  border-bottom: 2px solid;
  font-size: 16px;
  line-height: 64px;
}

.header-contact, .header-ebooks {
  padding: 0px 8px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-weight: 600;
  height: 42px;
  display: flex;
  align-items: center;
}

.header-top-alt {
  background: #ffffff;
  color: #454545;
  height: 64px;
  line-height: 100%;
  transition: all 0.5s;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
}

.menu-item {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  line-height: 64px !important;
  cursor: pointer;
  padding: 0 8px;
}

.isDropdown .menu-item {
  padding-right: 18px;
}

.desktop-menubar {
  gap: 20px;
}

.desktop-menubar li {
  height: 100%;
}

.menu-item:hover {
  color: #ff9900;
  font-weight: 700;
  font-size: 16px;
  line-height: 64px;
}

.menu-item:hover::after {
  color: #ff9900;
  content: '';
  position: absolute;
  bottom: -0px;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #ff9900;
  font-weight: 700;
  font-size: 166px;
  line-height: 64px;
}

.header-top-alt .menu-item:hover {
  color: #ff9900;
  font-weight: 700;
  font-size: 16px;
  line-height: 64px;
}

.header-top-alt .menu-item:hover::after {
  border-bottom: 2px solid #ff9900;
  font-size: 16px;
  line-height: 64px;
}

.header-top-alt .menu-item {
  color: #003bba;
}

.menu-item + .menu-item.block {
  color: #ff9900;
  font-size: 16px;
  line-height: 64px;
}

.dropdown-list {
  display: flex !important;
  flex-direction: row !important;
  margin-top: 36px;
}

.dropdown-group-item {
  width: fit-content;
}

.dropdown-group-item:hover {
  font-weight: 700;
  text-decoration-line: underline;
  color: #fff;
}

.dropdown-group-item.active {
  font-weight: 700;
  text-decoration-line: underline;
}

.isDropdownHover.hidden {
  display: flex;
  position: absolute;
  transform: translateY(-50%) !important;
  transition: 0.3s all ease-in;
  opacity: 0;
  pointer-events: none; /* Disable hover and click events */
}

.isDropdownHover.block {
  opacity: 1;
  transform-origin: bottom;
  transition: 0.3s all ease-in;
  background: #003bba !important;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: scaleY(0.48) translateY(-200px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
  }
}

.menu-container {
  background: #003bba;
}

.menu-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

nav menuitem {
  position: relative;
  display: block;
  opacity: 0;
  cursor: pointer;
}

nav menuitem menu {
  position: fixed;
  left: 0;
  top: 64px;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.menu-container:hover ~ .menu-item {
  color: #f90;
  font-weight: 700;
}

.menu-container:hover ~ .menu-item:after {
  content: '';
  position: absolute;
  bottom: -0px;
  left: 0;
  width: 100%;
  border-bottom: 2px solid;
  font-size: 16px;
  line-height: 64px;
}

nav menuitem menu * {
  pointer-events: none;
}
nav menuitem:hover menu * {
  pointer-events: initial;
}

nav menu {
  display: flex;
}

nav menu menuitem {
  pointer-events: all;
  opacity: 1;
}
menu menuitem a {
  white-space: nowrap;
  display: block;
}

menuitem:hover menu {
  transition: transform 0.6s, opacity 0.6s;

  pointer-events: initial;
  opacity: 1;
}
menuitem:hover menu menuitem,
menu:hover menuitem {
  opacity: 1;
}
nav menu menuitem menuitem menu {
  transform: translateX(-100%);
  top: 0;
  right: 0;
}

nav {
  height: 100%;
  display: flex;
  gap: 24px;
}

nav a {
  box-sizing: border-box;
  position: relative;
}

nav a:hover:before {
  transition: background 0.5s, color 0.5s, transform 0.5s;
  content: '';
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

/* nav > menu > menuitem > a + menu:after{
    content: '';
    position:absolute;
    border:10px solid transparent;
    border-top: 10px solid white;
    left:12px;
    top: -40px;  
 } */
nav menuitem menu menuitem a + menu:after {
  content: '';
  position: absolute;
  border: 10px solid transparent;
  top: 20px;
  left: -180px;
  transition: opacity 0.6, transform 0s;
}

nav menu menuitem menu menuitem {
  transition: transform 0.6s, opacity 0.6s;
  opacity: 0;
  pointer-events: none;
}

nav menu menuitem:hover menu menuitem,
nav menu menuitem.hover menu menuitem {
  transition: transform 0.6s, opacity 0.6s;
}

nav menu menuitem:hover menu menuitem,
nav menu menuitem.hover menu menuitem {
  transform: translateY(0%);
  transition: transform 0.6s, opacity 0.6s;
  opacity: 1;
}

menuitem menu menuitem menu menuitem {
  transition: transform 0.6s, opacity 0.6s;
  transform: translateX(195px) translateY(0%);
  opacity: 0;
}
menuitem menu menuitem:hover menu menuitem,
menuitem menu menuitem.hover menu menuitem {
  transform: translateX(0) translateY(0%);
  transition: transform 0.6s, opacity 0.6s;
  opacity: 1;
}

.header-top-alt .dropdown-header.block ~ .menu-item {
  color: #003bba;
  font-weight: 700;
  font-size: 16px;
  line-height: 64px;
}

.header-top-alt .dropdown-header.block ~ .menu-item:after {
  color: #003bba;
  content: '';
  position: absolute;
  bottom: -0px;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #003bba;
  font-weight: 700;
  font-size: 16px;
  line-height: 64px;
}

.header-top .dropdown-header.block ~ .menu-item {
  color: #ff9900;
  font-weight: 700;
  font-size: 16px;
  line-height: 64px;
}

.header-top .dropdown-header.block ~ .menu-item:after {
  color: #ff9900;
  content: '';
  position: absolute;
  bottom: -0px;
  left: 0;
  width: 100%;
  border-bottom: 2px solid #ff9900;
  font-weight: 700;
  font-size: 16px;
  line-height: 64px;
}

@media only screen and (max-width: 1024px) {
  /* .bg-header {
    background: none;
  } */
  .header-top-alt {
    background: #fff !important;
  }

  .cursore-uq {
    display: none;
  }

  .desktop-header {
    display: none !important;
  }

  .mobile-header {
    display: flex !important;
  }

  .max-width {
    max-width: calc(100vw - 60px);
    padding: 0 8px !important;
  }

  .nav__bar-btn {
    display: block;
  }

  .header-contact, .header-ebooks {
    padding: 12px 8px;
  }

  .header-top-alt {
    height: 72px;
  }

  .header-top {
    height: 72px;
  }
}

.bg-header {
  background: #003bba;
  transition: all 0.3s;
  /* transition-delay: 5s; */
}

.max-width-menu {
  max-width: 965px;
  padding: 0 8px;
  gap: 36px;
}

.header-des {
  border-right: 1px solid #ffffff33;
  padding: 0 12px;
  white-space: nowrap;
}

@media only screen and (max-width: 600px) {
  .form-input-popup {
    /* width: 50%; */
    width: 90vw;
    padding: 20px;
  }

  .form-input-popup .form-wrapper {
    width: calc(50% - 8px);
    gap: 8px !important;
  }

  .form-input-popup .fqa-title-text {
    font-size: 24px;
    font-weight: 700;
    line-height: 28.8px;
  }

  .flag {
    margin-right: 5px;
  }

  .max-width {
    max-width: 355px;
    padding: 0 8px;
  }

  .max-width {
    max-width: 355px;
    padding: 0 8px !important;
  }

  .menu-open {
    margin-left: 12px;
  }

  .header-top-alt {
    padding-top: 12px;
    padding-bottom: 12px;
    height: 72px;
    line-height: 100%;
  }

  .rabiloo-logo {
    width: 100px;
    height: auto;
  }

  .header-contact, .header-ebooks {
    padding: 8px;
  }

  .header-contact-mobile {
    display: flex !important;
  }
  .header-contact-desktop {
    display: none !important;
  }

  .text-sb20 {
    font-size: 16px;
    font-weight: 500;
  }

  .invalid-feedback {
    text-align: left;
  }
}

.header-text-default-style{
  font-weight: 400;
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0%;
  padding: 8px;
}

.talk-ai-text{
  color: #003BBA;
}

.header-bg{
  padding: 8px 16px;
  border-radius: 8px;
  background-color: #FFFFFF4D;
  backdrop-filter: blur(24px);
}

.header{
  padding: 0px 40px
}

.menu-it{
  height: 42px !important;
}

.link-container{
  transition: transform 0.4s ease;
}

.title {
  transition: transform 0.4s ease;
}

.link-title1 {
  transform-origin: right center;
}

.link-title2 {
  transform-origin: left center;
}

.link:hover .link-container {
  transform: translateY(-41.97px);
}

.tag-label {
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0% 100%) !important;
}