@charset "UTF-8";

.home--banner-wrapper {
  position: relative;
}
@media (max-width: 430px) {
  .home--banner-wrapper.home--banner-pc {
    display: none;
  }
}
@media (min-width: 431px) {
  .home--banner-wrapper.home--banner-mb {
    display: none;
  }
}
.home--banner-wrapper .banner-slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh;
}
@media (max-width: 480px) {
  .home--banner-wrapper .banner-slider .swiper-slide {
    max-height: 683px;
  }
}
.home--banner-wrapper .banner-slider .swiper-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.home--banner-wrapper .banner-slider .swiper-slide img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  -o-object-position: center;
  object-position: center;
}
.home--banner-wrapper .banner-slider .swiper-pagination {
  bottom: 26px;
  left: 0;
  right: 0;
  width: auto;
}
.home--banner-wrapper .banner-slider .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  opacity: 1;
  border-radius: 50px;
  background: #fff;
  margin: 0;
}
.home--banner-wrapper .banner-slider .swiper-pagination-bullet-active {
  width: 30px;
  background-color: #39803D;
}
.home--banner-wrapper .banner-slider .experience_box_nextprev {
  position: absolute;
  display: flex;
  align-items: center;
  bottom: 20px;
  padding: 4px;
  width: 120px;
  text-align: left;
  justify-content: flex-start;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.9);
}
.home--banner-wrapper .banner-slider .experience_box_nextprev .swiper-button-next,
.home--banner-wrapper .banner-slider .experience_box_nextprev .swiper-button-prev {
  width: 32px;
  height: 32px;
  border: 1px solid var(--DADCE0, #DADCE0);
  background: transparent;
}
.home--banner-wrapper .banner-slider .experience_box_nextprev .swiper-pagination {
  width: -moz-max-content;
  width: max-content;
}
.home--banner-wrapper .banner-slider .swiper-button-prev,
.home--banner-wrapper .banner-slider .swiper-button-next {
  position: static;
}
.home--banner-wrapper .banner-slider .swiper-button-prev::after,
.home--banner-wrapper .banner-slider .swiper-button-next::after {
  display: none;
}
.home--banner-wrapper .banner-slider-mb img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  -o-object-position: center;
  object-position: center;
  min-height: 600px;
}
.home--banner-wrapper .banner-slider-mb .experience_box_nextprev {
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 99;
}
.home--banner-wrapper .banner-slider-mb .experience_box_nextprev .swiper-pagination {
  width: 100%;
}
.home--banner-wrapper .banner-search {
  position: absolute;
  top: 50%;
  text-align: left;
  z-index: 1;
  transform: translate(0, -50%);
  max-width: 520px;
  border-radius: 20px;
  border: 2px solid #66B844;
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 40px;
}
@media (max-width: 480px) {
  .home--banner-wrapper .banner-search {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 80px;
    transform: translate(0, 0);
    padding: 32px 16px;
  }
}
.home--banner-wrapper .banner-search::after {
  content: "";
  background: url(../images/home/bg-banner-bf.png);
  width: 300px;
  height: 200px;
  position: absolute;
  top: -100px;
  left: 0;
}
.home--banner-wrapper .banner-search::before {
  content: "";
  background: url(../images/home/bg-banner-aft.png);
  width: 400px;
  height: 190px;
  position: absolute;
  bottom: -95px;
  right: 0;
}
@media (max-width: 480px) {
  .home--banner-wrapper .banner-search::before {
    height: 125px;
    bottom: -29px;
  }
}
.home--banner-wrapper .banner-search .title {
  color: var(--FFFFFF, #FFF);
  font-family: "Barlow";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  margin: 0 0 20px;
}
@media (max-width: 480px) {
  .home--banner-wrapper .banner-search .title {
    font-size: 28px;
  }
}
.home--banner-wrapper .banner-search .des {
  color: var(--FFFFFF, var(--FFFFFF, #FFF));
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin: 0;
}
.home--banner-wrapper .banner-search .search-open-ctn {
  margin-top: 20px;
  position: relative;
}
.home--banner-wrapper .banner-search .search-open-ctn input.search_home {
  border-radius: 200px;
  background: var(--FFFFFF, #FFF);
  width: 100%;
  padding: 20px 60px 20px 20px;
  color: var(--606368, #606368);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  outline: none;
  border: none;
}
.home--banner-wrapper .banner-search .search-open-ctn .search_submit_home {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
}

.try {
  margin-top: 60px;
  text-align: center;
}
.try h1 {
  color: #2c3e50;
  font-size: 2.5rem;
}
.try h1 span {
  color: #e74c3c;
}
.try p {
  color: #34495e;
  font-size: 1.1rem;
}
.try .btn-download.addBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 120px;
  max-width: 80%;
  padding: 12px 24px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  transform: none;
  background: linear-gradient(270deg, #4CAF50, #2196F3, #4CAF50);
  background-size: 200% 100%;
  color: white;
  border: none;
  border-radius: 25px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
  animation: gradientSlide 3s ease infinite;
}
.try .btn-download.addBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.try .btn-download.addBtn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(45deg);
  animation: shine 3s infinite;
  z-index: 1;
}
.try .btn-download.addBtn span, .try .btn-download.addBtn i, .try .btn-download.addBtn img {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .try .btn-download.addBtn {
    min-width: 100px;
    padding: 10px 20px;
    font-size: 0.9em;
  }
}
.try .feature {
  margin: 20px 0;
}
.try .feature img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.try .feature h3 {
  color: #2980b9;
  font-size: 1.5rem;
  margin: 10px 0;
}
.try .feature p {
  color: #495057;
}
.try .btn-detail {
  color: #1565c0;
  text-decoration: none;
  border: 1px solid #1565c0;
  padding: 5px 10px;
  border-radius: 5px;
}

.hot .section-title {
  color: #008076;
  font-size: 24px;
  font-weight: bold;
}
.hot .section-subtitle {
  color: #495057;
  font-size: 18px;
}
.hot .feature-title {
  color: #008076;
  font-size: 20px;
  font-weight: bold;
}
.hot .feature-description {
  color: #495057;
  font-size: 16px;
}
.hot .feature-icon {
  width: 100px;
  height: 100px;
}

.quiz-list {
  /* Không cần tự định nghĩa grid nữa vì Bootstrap có sẵn row và col */
}
.quiz-list .cell {
  padding: 5px; /* Chỉ giữ padding nếu muốn */
}
.quiz-list .cell .card-body {
  color: white;
  text-align: center;
  background: #128441;
  box-shadow: 5px 10px 8px #888888;
  text-decoration: none;
  display: block;
  border-radius: 100px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.quiz-list .cell .card-body:hover {
  background: #66afff !important;
  box-shadow: 5px 10px 8px #999999;
  transform: scale(1.05);
}
.quiz-list .cell .card-body:last-child {
  background: linear-gradient(74deg, #128441 11.11%, #5fb444 89.28%);
}
.quiz-list .card {
  border: none;
  box-shadow: none;
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}
