/* fonts */
@font-face {
  font-family: 'Poppins-Black';
  src: url('../fonts/FZ%20Poppins-Black.ttf') format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins-Medium';
  src: url('../fonts/FZ%20Poppins-Medium.ttf') format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins-Thin';
  src: url('../fonts/FZ%20Poppins-Thin.ttf') format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins-Regular';
  src: url('../fonts/FZ%20Poppins-Regular.ttf') format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins-ExtraLight';
  src: url('../fonts/FZ%20Poppins-ExtraLight.ttf') format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


html {
  margin-top: 0 !important;
}
body {
  font-family: 'Poppins-Regular', sans-serif !important; /* Sử dụng font-family đã định nghĩa */
}

/* Container */
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin: 0 auto;
}
.container::after {
  content: none;
}
.container::before {
  content: none;
}
@media screen and (min-width: 768px) {
  .container{
    max-width: 100%;
    width: 100%;
    padding: 0 25px;
  }
}
@media screen and (min-width: 1024px) {
  .container{
    max-width: 100%;
    width: 100%;
    padding: 0 30px;
  }
}
@media screen and (min-width: 1200px) {
  .container{
    max-width: 1140px !important;
    width: 100% !important;
    padding: 0 40px;
  }
}
@media screen and (min-width: 1400px) {
  .container{
    max-width: 1320px !important;
    width: 100% !important;
    padding: 0 50px;
  }
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: #0b0b2c; /* Màu nền cố định */
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Lớp gradient ánh sáng cho header */
.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(177, 76, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Header style when scrolled */
.main-header.scrolled {
    background: #0b0b2c;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Đảm bảo nội dung header nằm trên lớp gradient */
.header-inner {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #B14CFF;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: #B14CFF;
}

.btn-download {
    background: #B14CFF;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background: #9D2AF3;
}

.language-switcher {
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Mobile Menu Modal */
.mobile-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 2000;
    display: none;
    overflow-y: auto;
}

.mobile-menu-modal.active {
    display: block;
}

.mobile-menu-container {
    padding: 20px;
    max-width: 100%;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.mobile-menu-close {
    cursor: pointer;
    color: #333;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: 20px;
    text-align: center;
}

.mobile-nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

.mobile-language-switcher {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 20px;
}

.mobile-lang-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
}

.mobile-lang-link.active {
    color: #B14CFF;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.mobile-actions .btn-login,
.mobile-actions .btn-download {
    width: 100%;
    text-align: center;
}

.mobile-actions .btn-download {
    background: linear-gradient(90deg, #B14CFF 0%, #941BF9 100%);
    color: #fff;
    border-radius: 80px;
    padding: 12px 30px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}


/* Footer */
#footer_custom {
  font-size: 15px;
  padding-top: 20px;
  padding-bottom: 50px;
  overflow: hidden;
  background: #000;
}
#footer_custom >.container::after{
  content: none;
}
#footer_custom >.container::before{
  content: none;
}
#footer_custom .main_footer_desktop {
  display: flex;
  justify-content: space-between;
}
#footer_custom .main_footer_desktop .content-footer {
  margin-top: 20px;
  color: #fff;
  font-size: 16px;
}
#footer_custom .main_footer_desktop .list-social-footer {
    margin-top: 24px;
}
#footer_custom .main_footer_desktop .content-info-company {
  color: #fff;
  font-size: 14px;
  margin-top: 22px;
}
#footer_custom .wrapper_logo_footer{
  width: 80%;
  display: inline-block;
}
#footer_custom .footer-title {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 300;
  margin-top: 10px;
  color: #fff;
}
#footer_custom ul li {
  font-size: 16px;
  margin-bottom: 10px;
}
#footer_custom ul .li-footer a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

#footer_custom .main_footer_desktop .col-md-3,
#footer_custom .main_footer_desktop .col-md-2 {
  padding-right: 10px;
  padding-left: 10px;
}
#footer_custom .main_footer_mobile {
  display: none;
}
@media screen and (min-width: 0px) and (max-width: 992px){
  #footer_custom .main_footer_desktop {
    display: none;
  }
  #footer_custom .main_footer_mobile {
    display: block;
  }
  #footer_custom .main_footer_mobile .img-logo-mobile{
      width: 65%;
  }
  #footer_custom .products_footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #footer_custom .products_footer .links{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #footer_custom .main_footer_mobile .list-social-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #footer_custom .main_footer_mobile .content-info-company {
    margin-top: 24px;
    color: #fff;
    font-size: 13px;
  }
}

#hubspot-messages-iframe-container.widget-align-right {
  display: none !important;
}


@media screen and (min-width: 0) and (max-width: 768px) {
  .trp-language-switcher>div {
      border: none !important;
      width: auto !important;
      padding: 0 !important;
      background-image: none !important;
      /* position: fixed; */
      /* bottom: 50px; */
      height: 28px;
  }
  .trp-language-switcher > div > a.trp-ls-shortcode-disabled-language {
      padding: 0 12px !important;
  }
  .trp-language-switcher>div>a>img {
      width: 36px !important;
      height: 30px !important;
      object-fit: contain;
  }
  .trp-language-switcher {
      width: auto !important;
      height: auto !important;
      position: initial;
  }
  /* .trp-language-switcher:focus .trp-ls-shortcode-language, .trp-language-switcher:hover .trp-ls-shortcode-language {
    top: 76%;
    left: auto;
  }
  .trp-language-switcher .trp-ls-shortcode-current-language {
    top: 80%;
  }
  .trp-language-switcher:focus .trp-ls-shortcode-current-language, .trp-language-switcher:hover .trp-ls-shortcode-current-language {
    visibility: visible;
  }
  .trp-language-switcher > .trp-ls-shortcode-language > a.trp-ls-shortcode-disabled-language {
    display: none;
  } */
  .trp-language-switcher:focus .trp-ls-shortcode-language, .trp-language-switcher:hover .trp-ls-shortcode-language {
    position: initial;
  }
}
@media screen and (min-width: 768px) {
  .trp-language-switcher {
      width: 100% !important;
      /* height: 100% !important; */
      display: flex;
      align-items: center !important;
  }
  .trp-language-switcher>div {
      border: none !important;
      width: 100% !important;
      padding: 0 !important;
      /* background: none !important; */
  }
  .trp-language-switcher > div > a {
      /* padding: 10px 0 !important; */
  }
  .trp-ls-shortcode-language {
      overflow: visible !important;
  }
  .trp-language-switcher > div > a.trp-ls-shortcode-disabled-language {
      padding: 0 !important;
  }
  .trp-language-switcher>div>a>img {
      width: 24px !important;
      height: 18px !important;
      cursor: pointer;
  }
  .trp-language-switcher>div>a {
      POSITION: ABSOLUTE;
      top: 43px;
      left: -26px;
      width: 66px;
      height: 39px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #fff;
      border: 1px solid #f3e6e6;
      padding: 10px 17px;
      border-radius: 5px;
  }
  .trp-language-switcher>div>a.trp-ls-shortcode-disabled-language {
      position:initial ;
      top: auto;
      left: auto;
      width: auto;
      height: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      background: none;
      border: none;
      padding: 10px 0 !important;
  }
  .trp-language-switcher:focus .trp-ls-shortcode-language, .trp-language-switcher:hover .trp-ls-shortcode-language {
      top: auto !important;
  }
}
@media screen and (min-width: 992px) {
  .trp_language_switcher_shortcode {
      margin-left: 10px;
  }
  .trp-language-switcher>div>a.trp-ls-shortcode-disabled-language>img {
      width: 36px !important;
      height: 30px !important;
      object-fit: contain;
  }
}