@import url("fonts.css");

:root {
  --cl-main: #2D2E82;
  --cl-s1: #161741;
  --cl-gradient: linear-gradient(180deg, #2D2E82 35.2%, #762C5A 98.9%, #CD2A2A 174.32%);
  --cl-scrollbar: var(--cl-main);
  --font-base: "Poppins";
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  font-family: var(--font-base);
  font-weight: normal;
  color: var(--cl-s1);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: #FAFAFA;
}

input,
button,
select,
textarea {
  font-family: var(--font-base);
  outline: none;
}

body::-webkit-scrollbar-track {
  background-color: #fff;
}

body::-webkit-scrollbar {
  width: 0.5rem;
  background-color: #f5f5f5;
}

body::-webkit-scrollbar-thumb {
  background: var(--cl-scrollbar);
}

a,
i,
input[type="submit"],
button,
path {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.s-content ol {
  list-style: decimal;
  margin-left: 15px;
  margin-bottom: 10px;
}

.s-content ul {
  list-style: initial;
  margin-left: 15px;
  margin-bottom: 10px;
}

.s-content li {
  list-style: inherit;
  margin-bottom: 5px;
}

.s-content p {
  margin-bottom: 10px;
}

.s-content img {
  display: block;
  max-width: 100%;
  margin: 10px auto;
  width: auto !important;
  -o-object-fit: contain;
  object-fit: contain;
  height: auto !important;
}

.s-content table,
.s-content iframe {
  max-width: 100%;
  width: 100%;
}

.s-content table {
  border-collapse: collapse;
  width: 100%;
  border: solid 1px rgba(0, 0, 0, 0.431372549);
}

.s-content table td {
  border-collapse: collapse;
  border: solid 1px rgba(0, 0, 0, 0.431372549);
  padding: 3px;
}

.s-content h1,
.s-content h2,
.s-content h3,
.s-content h4,
.s-content h5,
.s-content h6 {
  display: block;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.s-content h1 {
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
}

.s-content h2 {
  font-size: 1.5em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.s-content h3 {
  font-size: 1.17em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.s-content h4 {
  font-size: 1em;
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}

.s-content h5 {
  font-size: 0.83em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.s-content h6 {
  font-size: 0.67em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.c-img {
  position: relative;
  display: block;
}

.c-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.scale-img {
  transition: all 0.5s;
  overflow: hidden;
}

.scale-img img {
  scale: 1.1;
  transition: all 0.5s;
}

.img__ {
  position: relative;
  overflow: hidden;
}

.img__:hover::after {
  -webkit-animation: shine 0.75s;
  animation: shine 0.75s;
}

.img__::after {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 100%);
  transform: skewX(-25deg);
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.hv_img {
  display: block;
  position: relative;
  overflow: hidden;
}

.hv_img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  content: "";
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.hv_img:hover::before {
  -webkit-animation: circle 0.75s;
  animation: circle 0.75s;
}

@keyframes circle {
  0% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img__contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
  -o-object-fit: contain;
}

.img__h-full img {
  height: 100%;
}

.img__w-full img {
  width: 100%;
}

.img__center img {
  display: block;
  margin: 0 auto;
}

.btn-primary {
  background: linear-gradient(180deg, #01b355 -65.8%, #0d9494 160.83%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #01b355 0%, #0d9494 100%);
  z-index: -1;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.btn-primary:hover {
  box-shadow: rgba(1, 179, 85, 0.3) 0px 5px 15px;
}

.btn-primary:hover::before {
  opacity: 1;
  visibility: visible;
}

.hamburger {
  overflow: visible;
  cursor: pointer;
  transition-timing-function: linear;
  transition-duration: 0.15s;
  transition-property: opacity, filter;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.625rem;
}

.hamburger-box {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.hamburger--squeeze .hamburger-inner {
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition-duration: 75ms;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
  position: absolute;
  width: 1.25rem;
  /* giảm còn 20px */
  height: 0.1875rem;
  /* giảm từ 4px xuống 3px cho cân đối */
  transition-timing-function: ease;
  transition-duration: 0.15s;
  transition-property: transform;
  border-radius: 3px;
  background-color: #fff;
}

.hamburger-inner {
  top: 50%;
  display: block;
  margin-top: -0.0938rem;
  /* nửa chiều cao của thanh 3px */
}

.hamburger--squeeze .hamburger-inner:before {
  transition: top 75ms ease 0.12s, opacity 75ms ease;
}

.hamburger-inner:before {
  top: -0.4375rem;
  /* điều chỉnh theo kích thước mới */
}

.hamburger-inner:after,
.hamburger-inner:before {
  display: block;
  content: "";
}

.hamburger--squeeze .hamburger-inner:after {
  transition: bottom 75ms ease 0.12s,
    transform 75ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner:after {
  bottom: -0.4375rem;
}

.hamburger--squeeze.is-active .hamburger-inner {
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
  background-color: #fff;
}

.hamburger--squeeze.is-active .hamburger-inner:before {
  top: 0;
  transition: top 75ms ease, opacity 75ms ease 0.12s;
  opacity: 0;
}

.hamburger--squeeze.is-active .hamburger-inner:after {
  bottom: 0;
  transition: bottom 75ms ease,
    transform 75ms cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
  transform: rotate(-90deg);
}

.menu-footer ul li a {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.menu-footer a:hover {
  color: var(--cl-s2);
}

.bg-gradient-primary {
  background-image: linear-gradient(180deg, #01b355 -65.8%, #0d9494 160.83%);
}

.banner-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  height: 80%;
  left: 0;
  width: 120%;
  background-image: linear-gradient(180deg, #fbfffd 0.01%, #d6fee9 104.27%);
  background-size: contain;
  z-index: 1;
  -webkit-clip-path: url(#my-clip-path);
  clip-path: url(#my-clip-path);
}

@media (max-width: 576px) {
  .container {
    max-width: 576px;
  }
}

@media not all and (min-width: 1352px) {}

@media not all and (min-width: 1024px) {
  .menu-moblie {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    width: min(80%, 320px);
    height: 100dvh;
    z-index: 999;
    transform: translateX(-100%);
    transition: all 0.3s;
  }

  .over-moblie {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s;
  }

  .menu-moblie.is-active {
    transform: translateX(0);
  }

  .over-moblie.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-moblie ul li a {
    display: block;
    padding: 0.5rem 1rem;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }

  .menu-moblie ul li:has(ul)>a {
    padding-right: 2rem;
  }

  .menu-moblie ul li {
    position: relative;
  }

  .menu-moblie ul li>.btn-menu-sub {
    position: absolute;
    height: 2.75rem;
    width: 2.75rem;
    right: 0;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .menu-moblie ul ul li a {
    width: 100%;
    padding-left: 1.5rem;
  }

  .menu ul ul {
    display: none;
  }

  .btn-menu-sub {
    transition: all 0.3s;
  }

  .btn-menu-sub.active {
    transform: rotate(180deg);
  }
}

@media not all and (min-width: 768px) {
  .btn-cart {
    position: fixed;
    top: 10rem;
    right: 1rem;
    z-index: 10;
  }
}

@media not all and (min-width: 576px) {}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 1024px) {
  .menu>ul {
    display: flex;
    flex-wrap: wrap;
    /* gap: 2rem; */
  }

  .menu ul li {
    position: relative;
    cursor: pointer;
  }

  .menu ul li a {
    display: block;
    white-space: nowrap;
    min-width: 240px;
    color: var(--cl-s1);
    font-size: 18px;
    font-weight: 500;
    /* text-align: center; */
  }
.menu>ul>li>a.active{
  color: #E57630;
}
  .menu>ul>li>a {
    text-align: center;
  }

  .menu ul li:not(:last-child) a {
    border-right: 1px solid #B2B2B2;
  }

  .menu ul li a:hover {
    color: #E57630;
    transition: all 0.3s ease-in-out;
  }

  .menu>ul>li:has(ul)>a {
    padding-right: 1rem;
  }

  .menu ul li>.btn-menu-sub {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .menu ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: fit-content;
    background-color: #EBEBEB;
    /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); */
    z-index: 2;
    /* border-radius: 5px; */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform-origin: top;
    transform: scaleY(0);
    transition: all 0.3s;
  }

  .menu ul ul a {
    padding: 0.5rem 1rem;
  }

  /* .menu ul ul>li:first-child>a {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .menu ul ul>li:last-child>a {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  } */

  .menu ul ul li:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
  }

  .menu ul ul a:hover {
    background: var(--cl-main);
    color: #fff;
  }

  .menu ul li:hover>ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scaleY(1);
  }
}

@media (min-width: 1352px) {}