.bs-container {
  margin-top: 64px;
}

@media only screen and (max-width: 800px) {
  .bs-container {
    margin-top: 0;
  }
}

/* @font-face {
    font-family: myFirstFont;
    src: url(css/Inter.ttf);
}

* {
    font-family: Inter;
} */

/* .bs-top img {
    width: 100%;
} */

#bg-brand-mb {
  display: none;
}

#bg-brand-pc {
  display: block;
}

.bs-top-box {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  position: absolute;
  top: 250px;
  left: 0;
  right: 0;
}

@media only screen and (min-width: 768px) {
  .box-item:hover {
    background: linear-gradient(90deg, #395eef 0%, #60ce93 100%);
  }
}

.box-item {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  background: linear-gradient(
    124.45deg,
    rgba(255, 255, 255, 0.5) 16.82%,
    rgba(255, 255, 255, 0.095) 86.25%
  );
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0px 4px 20px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 26px;
  padding-top: 30px;
}

.box-item img {
  width: 30px;
  margin: 0 auto;
}

.box-item p {
  font-weight: 700;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  color: #000000;
  margin-top: 10px;
}

.bs-content {
  background: #f5f5f5;
}

.bs-brand-content-box {
  position: relative;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 70px;
}

.bs-brand-content-box-item {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  margin-bottom: 30px;
}

.pd-right {
  padding-right: 30px;
}

.pd-left {
  padding-left: 30px;
  text-align: right;
}

.bs-brand-content-box-item-text span {
  font-weight: 700;
  font-size: 48px;
  line-height: 72px;
  color: #395eef;
}

.bs-brand-content-box-item-text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #444444;
}

.brand-icon-right {
  background-image: url(../images/brand/arrow3.svg);
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
  margin-left: 20px;
}

.brand-icon-left {
  background-image: url(../images/brand/arrowleft.svg);
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
  margin-right: 20px;
}

/* */

.bs-about-box-content {
  /* overflow: scroll; */
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.bs-about-box-content {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}
.bs-about-box-content::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.bs-about-slider-text {
  /* overflow: scroll; */
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.bs-about-slider-text {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}
.bs-about-slider-text::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

@media only screen and (max-width: 800px) {
  .bs-top-bg {
    padding: 140px 60px;
  }
  .bs-top {
    height: 260px;
  }
  #bg-brand-mb {
    display: block;
  }
  .bs-top-bg img {
    padding: 0;
  }
  #bg-brand-pc {
    display: none;
  }
  .brand-carousel-top {
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: absolute;
    top: 200px;
  }
  .bs-top-box {
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
    width: 100%;
    margin: 0px auto;
    display: flex;
    position: unset;
    height: 100%;
  }
  .box-item {
    display: flex;
    padding: 10px;
    background: linear-gradient(
      124.45deg,
      rgba(255, 255, 255, 0.5) 16.82%,
      rgba(255, 255, 255, 0.095) 86.25%
    );
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0px 4px 20px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Note: backdrop-filter has minimal browser support */
    border-radius: 14px;
  }
  .box-item img {
    width: 24px;
    height: 24px;
    margin: 3px 14px;
  }
  .box-item p {
    margin-top: 0;
    margin-right: 38px;
    font-size: 16px;
    white-space: nowrap;
  }
  .bs-brand-content-box {
    padding: 10px;
    padding-top: 20px;
    padding-bottom: 60px;
  }
  .bs-brand-content-box-item {
    grid-template-columns: 100%;
    display: flex;
    flex-direction: column;
  }
  .pd-right {
    padding-right: 0;
    padding-bottom: 20px;
  }
  .bs-brand-content-box-item-text span {
    font-size: 32px;
    line-height: 48px;
  }
  .brand-icon-right {
    background-image: url(../images/brand/arrow5.svg);
    width: 26px;
    height: 26px;
    margin-top: 10px;
  }
  .brand-icon-left {
    background-image: url(../images/brand/arrow5.svg);
    width: 26px;
    height: 26px;
    order: 2;
    margin-top: 10px;
    margin-left: 20px;
  }
  .pd-left {
    padding-left: 0;
    text-align: left;
    order: 1;
    padding-bottom: 20px;
  }
  .bs-brand-content-box-item-img {
    order: 2;
  }
}

.bs-about-box-top {
  max-width: 1200px;
  text-align: center;
  margin: auto;
  /* padding: 30px 140px;
    margin-top: 100px; */
  /* width: 785px; */
}

.bs-about-carousel {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  grid-auto-flow: dense;
  grid-gap: 16px;
  left: 0;
  right: 0;
  margin-top: 40px;
}

.bs-about-carousel-item {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  /* backdrop-filter: blur(20px); */
  padding-top: 30px;
  background: linear-gradient(
    180deg,
    #f2f5ff 0%,
    rgba(132, 188, 254, 0.2) 100%
  );
  border-radius: 20px;
}

.bs-about-carousel-item img {
  margin: 0 auto;
}

.bs-about-carousel-item p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #000000;
  padding: 24px;
}

.bs-about-box {
  background-image: url("../images/about-us/bs-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.bs-about-box-bg {
  height: 315px;
  width: 100%;
  background: linear-gradient(266.99deg, #395eef -0.41%, #60ce93 100%);
}

.blur-top,
.blur-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 1;
  pointer-events: none;

  /* Tăng blur lên để mượt hơn */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.blur-top {
  top: -30px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0)
  );
}

.blur-bottom {
  bottom: -30px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0)
  );
}

.bs-about-box-content {
  margin: 0 auto;
  height: 700px;
  margin-bottom: 50px;
  overflow-y: auto;
  padding: 40px;

  /* Áp dụng mask để làm mờ top và bottom */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    /* giữ rõ ràng đến 70% */ rgba(0, 0, 0, 0.5) 90%,
    /* trung gian – mờ bớt */ rgba(0, 0, 0, 0) 100% /* hoàn toàn trong suốt */
  );
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  /* Cho trình duyệt không Webkit */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 70%,
    /* giữ rõ ràng đến 70% */ rgba(0, 0, 0, 0.5) 90%,
    /* trung gian – mờ bớt */ rgba(0, 0, 0, 0) 100% /* hoàn toàn trong suốt */
  );
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  /* padding: 0 10px; */
}

.bs-about-box-content-carousel {
  width: 150%;
  display: flex;
  height: 430px;
  transition: transform 0.5s ease;
}

.bs-about-box-content-item {
  position: relative;
  margin: 0px 200px 0px;
}

@media only screen and (max-width: 1400px) {
  .bs-about-box-content-item {
    margin: 0px;
  }
}

.bs-about-box-content-item-top {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 20px;
}

@media only screen and (max-width: 800px) {
  .bs-about-box-content-item-top {
    flex-direction: column-reverse;
    align-items: center;
  }
}

.bs-about-box-content-item-top img {
  margin: 0 auto;
}

.bs-about-box-content-item-bottom {
  position: absolute;
  bottom: 0;
  height: 82%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  border: 1px solid #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  width: 100%;
}

.bs-about-box-content-item-bottom-text {
  width: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 6vw;
}

.bs-about-box-content-item-bottom-text h3 {
  font-weight: 700;
  font-size: 6vw;
  text-align: right;
  color: #fff;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
  margin: 0;
}

.bs-about-box-content-item-bottom-text h4 {
  font-weight: 700;
  font-size: 3vw;
  text-align: right;
  color: #fff;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.bs-about-box-content-item-bottom-text p {
  font-weight: 400;
  font-size: 1.5vw;
  color: #444444;
  text-align: right;
}

@media only screen and (max-width: 1200px) {
  .bs-about-box-content-item-bottom-text h3 {
    font-size: 8vw;
  }
  .bs-about-box-content-item-bottom-text h4 {
    font-size: 6vw;
  }
  .bs-about-box-content-item-bottom-text p {
    font-size: 3vw;
  }
}

@media only screen and (max-width: 800px) {
  .bs-about-box-content-item-bottom-text {
    width: 100%;
    padding-left: 0;
    text-align: center;
    /* thêm khung cho đẹp */
    padding: 7px 7px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
  }
  .bs-about-box-content-item-bottom-text h3 {
    font-size: 24px;
    text-align: center;
    color: #000;
    text-shadow: none;
  }
  .bs-about-box-content-item-bottom-text h4 {
    font-size: 20px;
    text-align: center;
    color: #000;
    text-shadow: none;
  }
  .bs-about-box-content-item-bottom-text p {
    font-size: 16px;
    text-align: center;
    color: #444444;
  }
  .bs-about-box-content-item-top img {
    width: 100% !important;
    height: auto;
    max-width: 300px;
  }
}

.bs-about-content-box {
  /* margin-top: 50px; */
  margin: 50px 0 34px 0;
  padding: 0 60px;
}

@media only screen and (max-width: 800px) {
  .bs-about-content-box {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.bs-about-content-box-top {
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
}

h3 {
  font-size: 26px;
}

.bs-about-box-content-item[data-order="1"] {
  order: 1;
}

.bs-about-box-content-item[data-order="2"] {
  order: 2;
}

.bs-about-box-content-item[data-order="3"] {
  order: 3;
}

.bs-about-box-content-item[data-order="4"] {
  order: 4;
}

.bs-about-box-content-item[data-order="5"] {
  order: 5;
}

.bs-about-box-content-item[data-order="6"] {
  order: 6;
}

.bs-about-slider-text {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 60px;
  padding-bottom: 100px;
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .bs-about-slider-text {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 60px;
    text-align: center;
  }
}

.bs-about-carousel-text {
  width: 1695px;
  display: flex;
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.bs-about-carousel-item-text {
  width: 315px;
  height: 178px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 20px;
  margin: 0 12px;
}

.bs-about-carousel-item-text h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  /* or 150% */
  text-align: center;
  color: #000000;
  margin: 20px 30px;
}

.bs-about-carousel-item-text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #444444;
  margin: 20px 24px;
}

.bs-about-slider-text {
  max-width: 1200px;
}

.bs-about-slider {
  margin-top: -34px;
}

.bs-about-slider {
  margin: auto;
  padding: 10px;
  overflow: hidden;
  margin-top: 0px;
  max-width: 1200px;
  /* overflow: scroll; */
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.bs-about-slider {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}
.bs-about-slider::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

@media only screen and (max-width: 800px) {
  .bs-about-box-top {
    margin-top: 10%;
  }
  .bs-about-slider {
    padding: 10px;
    margin-top: 0px;
  }
}

@media only screen and (max-width: 1030px) {
  .bs-about-carousel {
    padding: 0;
    /* overflow: hidden; */
  }
}

.bs-about-carousel-item {
  width: 315px;
}

.bs-about-box-content-carousel {
  width: 1848px;
}

.bs-about-box-content-item {
  height: 100%;
  width: auto;
}

.bs-top {
  position: relative;
  height: 390px;
  width: 100%;
  background-image: url("../images/about-us/bs-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.bs-top-bg {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bs-top-bg img {
  margin: auto;
  max-width: 665px;
  width: 100%;
  /* height: 103px; */
}

@media only screen and (max-width: 800px) {
  .bs-top {
    height: 260px;
  }
  .bs-top-bg {
    height: 100%;
    max-width: 400px;
  }
  h3 {
    font-size: 18px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 800px) {
  .bs-about-box-top {
    margin: 60px auto 0;
  }
}

.icon-img {
  width: 30px;
  height: 30px;
  /* display: block; */
  /* opacity: 1; */
  /* transition: opacity 0.5s ease; */
}

.icon-img-white {
  width: 30px;
  height: 30px;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

@keyframes example {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (min-width: 768px) {
  .bs-hover:hover {
    background: linear-gradient(90deg, #395eef 0%, #60ce93 100%);
    /* background: linear-gradient(90deg, #37AC6D 0%, #163CCE 100%); */
    color: white;
    /* opacity: 2; */
    animation-name: example;
    animation-duration: 1s;
  }

  .bs-hover:hover .icon-img {
    display: none;
    opacity: 0;
    /* transition: 0.5s; */
  }

  .bs-hover:hover .icon-img-white {
    display: block;
    opacity: 1;
    /* transition: 0.5s; */
  }
}
