:root {
  --cl-x: #0066ff;
  --cl-y: #ed1c24;
  --cl-gray: #f5f5f5;
  --fs-12: 12px;
  --fs-14: clamp(0.8125rem, 0.8rem + 0.0625vw, 0.875rem);
  --fs-18: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
  --fs-20: clamp(1.0625rem, 1.025rem + 0.1875vw, 1.25rem);
  --fs-24: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
  --fs-28: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
  --fs-36: clamp(1.5rem, 1.35rem + 0.75vw, 2.25rem);
  --fs-title: clamp(1.25rem, 1.1rem + 0.75vw, 2rem);

  --px-content: 8%;
  --py-content: 40px;
}

body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}

p:last-of-type {
  margin-bottom: 0;
}

a {
  color: #000;
  text-decoration: none;
}

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

.fs-12 {
  font-size: var(--fs-12) !important;
}

.fs-14 {
  font-size: var(--fs-14) !important;
}

.fs-18 {
  font-size: var(--fs-18) !important;
}

.fs-20 {
  font-size: var(--fs-20) !important;
}

.fs-24 {
  font-size: var(--fs-24) !important;
}

.fs-28 {
  font-size: var(--fs-28) !important;
}

.text-justify {
  text-align: justify !important;
}

.text-x {
  color: var(--cl-x) !important;
}

.text-y {
  color: var(--cl-y) !important;
}

.text-gray {
  color: var(--cl-gray);
}

/*background*/
.bg-x {
  background-color: var(--cl-x) !important;
}

.bg-y {
  background-color: var(--cl-y) !important;
}

.bg-gray {
  background-color: var(--cl-gray) !important;
}

.btn-custom {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  line-height: 1.5;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease-in-out;
  vertical-align: middle;
}

.btn-custom:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.btn-x {
  background-color: var(--cl-x);
  color: #fff;
  border: 1px solid var(--cl-x);
}

.btn-x:hover {
  color: #fff;
}

.btn-y {
  background-color: var(--cl-y);
  color: #fff;
  border: 1px solid var(--cl-y);
}

.btn-y:hover {
  color: #fff;
}

.btn-grd {
  background-color: #303029;
  background: linear-gradient(90deg, #60a0ff 0%, var(--cl-x) 100%);
  color: #fff;
  border: 0;
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.block {
  position: relative;
  padding: var(--py-content) var(--px-content);
}

.bg-cover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.main-title {
  margin-bottom: 0;
  font-weight: 700;
  font-size: var(--fs-title);
  text-transform: uppercase;
  position: relative;
}

.sub-title {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 1.5rem;
}

/*nav menu*/
.navbar {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 0;
  background-color: #fff;
}

.navbar > * {
  width: 100%;
  max-width: 100%;
}

.navbar-main {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-fixed {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  animation: animate 1s;
  transition: all 2s ease-in-out;
  z-index: 30;
}

@keyframes animate {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0px);
  }
}

.navbar-fixed.navbar {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.navbar-nav {
  width: 100%;
  align-items: center;
}

.navbar-nav .nav-item .nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  font-weight: 500;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}

.navbar-nav .nav-item .nav-link,
.navbar-nav .nav-item .nav-link a {
  color: #303029;
}

.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link.active a {
  color: var(--cl-x);
}

.navbar-nav .nav-item:hover .nav-link,
.navbar-nav .nav-item:hover .nav-link a {
  color: var(--cl-x);
}

/*===*/
.navbar-nav .dropdown-menu .dropdown-item {
  padding: 0.375rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-nav .dropdown-menu .dropdown-item:active {
  background-color: var(--cl-y);
}

.navbar-nav .toggle-menu {
  min-width: 2rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-brand {
  margin: 0;
  padding: 0;
}

.logo {
  width: 200px;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler {
  margin-left: 0.5rem;
}

.box-search-header {
  display: flex;
  width: 100%;
  padding: 0.4rem;
  border: 2px solid #dddddd;
  border-radius: 50rem;
  overflow: hidden;
  background-color: #fff;
}

.box-search-header input {
  flex: 1;
  width: 100%;
  padding: 0.25rem 1rem;
  border: none !important;
  outline: none;
  background-color: transparent;
  font-size: var(--fs-14);
}

.box-search-header button {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem;
  border: none;
  border-radius: 50%;
  font-size: var(--fs-14);
}

.btn-popup-search {
  padding: 0;
  border: 0;
  background-color: transparent;
  box-shadow: none !important;
  font-size: var(--fs-18);
}

.btn-popup-search svg {
  fill: var(--cl-x);
}

.cart-shopping {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: var(--cl-x);
  font-size: var(--fs-18);
  position: relative;
}

.label-quantity {
  position: absolute;
  top: -6px;
  right: -10px;
  width: 1rem;
  height: 1rem;
  font-size: 12px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--cl-x);
}

.translate .lang-item {
  padding-left: 0.25rem;
  color: #000;
}

.translate .lang-item + .lang-item {
  border-left: 1px solid #000;
}

.translate .lang-item.active {
  color: var(--cl-x);
}

/*============*/
.swiper {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

/*banenr-page*/
.banner-page {
  min-height: clamp(11rem, 10rem + 5vw, 16rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.banner-page .title {
  display: block;
  margin-bottom: 0;
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
  text-align: center;
  text-transform: uppercase;
  position: relative;
}

.banner-page .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}

.banner-page .breadcrumb .breadcrumb-item,
.banner-page .breadcrumb .breadcrumb-item a,
.banner-page .breadcrumb-item + .breadcrumb-item::before {
  color: #000;
}

.banner-page .breadcrumb .breadcrumb-item.active {
  color: #fff;
}

.simple-breadcrumb {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #f4f4f4;
}
.simple-breadcrumb .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}

.simple-breadcrumb .breadcrumb .breadcrumb-item,
.simple-breadcrumb .breadcrumb .breadcrumb-item a,
.simple-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #000;
  font-weight: 400;
  text-decoration: none;
  font-size: 14px;
}

.simple-breadcrumb .breadcrumb-item.active {
  color: var(--cl-x);
}

/* Home ============*/
.main-slide {
}

.main-slide .swiper-slide {
  position: relative;
}

.main-slide .swiper-slide .banner-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3%;
  border: 2px solid #fff;
}

.main-slide .banner-slide h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
  color: #fff;
}

/*Home========================*/
.block-course-banner {
  margin-top: -10%;
  z-index: 1;
}

.box-course {
  height: 100%;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: clamp(0.75rem, 0.6rem + 0.75vw, 1.5rem);
  cursor: pointer;
}

.box-course .box-thumbnail {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 1rem;
  overflow: hidden;
}

.box-course .inner-thumbnail:before {
  transition: all 0.4s cubic-bezier(0.3, 0.85, 0.29, 0.98);
}

.box-course:hover .inner-thumbnail {
  --bs-aspect-ratio: 54%;
}

.box-course .box-content {
  padding: 0.75rem;
  text-align: center;
}

.box-course .title {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  color: var(--cl-y);
}

.box-course .view-more {
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  transition: all 0.3s ease-in-out;
}

.box-course .view-more:hover {
  text-decoration: underline;
}

/*===*/
.box-content-title h1,
.box-content-title h2 {
  margin-bottom: 0.5rem;
  font-size: var(--fs-title);
  position: relative;
  color: var(--cl-x);
}

.box-content-title h3:first-of-type {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--cl-y);
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  color: #fff;
}

.box-tilte-icon img {
  width: clamp(6.25rem, 5.625rem + 3.125vw, 9.375rem);
}

/*===*/
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.grid-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

/*===*/
.box-blog-course .box-content {
  padding: 0.75rem;
}

.box-blog-course .title {
  margin-bottom: 0;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  text-align: center;
  text-transform: uppercase;
}

/*===*/
#tab-gallery {
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 0;
}

#tab-gallery .nav-link {
  position: relative;
  padding: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem)
    clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
  background-color: #fff;
  border-radius: 6px;
  border: 0;
  box-shadow: none !important;
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 0.675rem + 0.375vw, 1.125rem);
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

#tab-gallery .nav-link:after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(90deg, #60a0ff 0%, var(--cl-x) 100%);
  border-radius: 7px;
}

#tab-gallery .nav-link .label-nav {
  transition: all 0.3s ease-in-out;
}

#tab-gallery .nav-link:not(.active):not(:hover) .label-nav {
  background: linear-gradient(90deg, #60a0ff 0%, var(--cl-x) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#tab-gallery .nav-link.active {
  background: linear-gradient(90deg, #60a0ff 0%, var(--cl-x) 100%);
  color: #fff;
}

/*===*/
.box-hover-zoom .box-thumbnail,
.box-hover-zoom-long .box-thumbnail {
  overflow: hidden;
}

.box-hover-zoom .box-thumbnail img {
  transition: all 0.3s ease-in-out;
}

.box-hover-zoom:hover .box-thumbnail img,
.box-hover-zoom-long:hover .box-thumbnail img {
  transform: scale(1.1);
}

.box-hover-zoom-long .box-thumbnail img {
  transition: all 1s ease-in-out;
}

.wrapper-slide {
  position: relative;
}

.wrapper-slide .swiper-button-next,
.wrapper-slide .swiper-button-prev {
  width: clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem);
  height: clamp(1.875rem, 1.75rem + 0.625vw, 2.5rem);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  color: var(--cl-x);
  opacity: 1;
  transition: all 0.3s ease-in-out;
  pointer-events: all;
}

.wrapper-slide .swiper-button-next:after,
.swiper-button-circle .swiper-button-prev:after {
  content: "";
}

.wrapper-slide.hover-show-button .swiper-button-next,
.swiper-button-circle.hover-show-button .swiper-button-prev {
  opacity: 0;
}
.wrapper-slide.hover-show-button:hover .swiper-button-next,
.wrapper-slide.hover-show-button:hover .swiper-button-prev {
  opacity: 1;
}
.wrapper-slide.hover-show-button:hover .swiper-button-disabled {
  opacity: 0.5;
}

/*===*/
.box-product {
  overflow: hidden;
}

.box-product .box-thumbnail {
  position: relative;
}

.box-product .box-badge {
  position: absolute;
  left: 0;
  top: 1rem;
  padding: 0.25rem 0.5rem;
  background-color: var(--cl-x);
  font-size: var(--fs-18);
  color: #fff;
}

.box-product .box-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.box-product .box-title {
  max-height: 2.5rem;
}

.box-product .title {
  margin-bottom: 0rem;
  font-size: var(--fs-20);
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.box-product .box-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.box-product .box-price {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
}

.box-product .box-price .label-sale-price {
  color: #000;
}

.box-product .box-price .label-regular-price {
  color: #939393;
  text-decoration: line-through;
  font-size: var(--fs-14);
}

.box-product:hover .title {
  color: var(--cl-x);
}

/*===*/
.box-blog .box-thumbnail {
  position: relative;
}

.box-blog .box-badge {
}

.box-blog .box-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.box-blog .box-title {
  max-height: 2.5rem;
}

.box-blog .title {
  font-size: var(--fs-20);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.box-blog .box-excerpt {
  margin-top: 0.5rem;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.box-blog .box-view-more {
  font-style: italic;
  color: var(--cl-x);
}

.box-blog:hover .title {
  color: var(--cl-x);
}

/*===*/
.box-gallery {
  position: relative;
}

.box-gallery .box-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: scale(0.7);
}

.box-gallery:hover .box-content {
  opacity: 1;
  transform: scale(1);
}

.box-gallery img {
  transition: all 0.2s ease-in-out;
}

.box-gallery:hover img {
  filter: brightness(0.5);
}

/*===*/
.footer {
  position: relative;
  color: #fff;
}

.footer-bottom {
  background-color: #111111;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.index .footer .bg-cover {
  top: 25%;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

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

.footer p {
  margin-bottom: 0.7rem;
}

.logo-footer {
  width: clamp(14rem, 13.4rem + 3vw, 17rem);
}

.title-footer {
  position: relative;
  margin-bottom: 1.5rem;
  font-size: var(--fs-20);
  font-weight: bold;
  text-transform: uppercase;
}

.list-footer ul {
  list-style: none;
  list-style-position: inside;
  margin-bottom: 0;
  padding-left: 0px;
}

.list-footer ul li a {
  position: relative;
}

.list-footer ul li a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #fff;
  bottom: -4px;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
}

.list-footer ul li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}

.list-footer ul li {
  transition: transform 0.2s ease-in-out;
}

.list-footer ul li:hover {
  transform: translateX(5px);
}

.list-footer ul li + li {
  margin-top: 0.7rem;
}

.list-footer ul li i {
  margin-right: 6px;
  color: var(--cl-x);
}

.social-contact {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-contact .item {
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
  border-radius: 50%;
  background-color: var(--cl-x);
  color: #fff;
  font-size: var(--fs-20);
  transition: all 0.2s ease-out;
}

.social-contact .item.facebook {
  background-color: #3d5a98;
}

.social-contact .item.twitter {
  background-color: #00aced;
}

.social-contact .item.pinterest {
  background-color: #bd081c;
}

.social-contact .item.linkedin {
  background-color: #0077b5;
}

.social-contact .item.zalo {
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}

.social-contact-footer .item:hover {
  animation: scale-icon 0.5s;
  color: #fff;
}

@keyframes scale-icon {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

.coppyright {
  font-size: clamp(0.625rem, 0.5625rem + 0.3125vw, 0.9375rem);
  text-align: center;
  color: #fff;
}

.coppyright a {
  color: #fff;
}

/*===*/
.form-register {
  padding: 4% 8%;
  background-color: var(--cl-x);
  border-radius: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
}

.form-register .form-control {
  padding: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem)
    clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  background-color: transparent;
  color: #fff;
  box-shadow: none !important;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
}

.form-register .form-control::placeholder {
  color: #fff;
}

.form-register .btn-custom {
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #fff;
  color: var(--cl-y);
}
.g-recaptcha-contact {
  transform: scale(0.7);
}

/*===*/
.box-iframe iframe {
  width: 100%;
  max-width: 100%;
}
.box-iframe-contact iframe {
  /*height: 100%;*/
}

.contact-information {
  padding: 5% 20%;
  border-radius: 1rem;
  background-color: var(--cl-x);
}

.box-info-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10% 5%;
  background-color: var(--cl-x);
  gap: 0.5rem;
  color: #fff;
  text-align: center;
}

.box-info-contact span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--cl-x);
}
