.banner-black-layout {
  position: relative;
}

.banner-black {
  position: relative;
  padding-top: 1px;
  z-index: auto;
}
.banner-black-title span.title-color-2{
	display: block;
}

.banner-black::before {
  position: absolute;
  content: "";
  top: -12%;
  left: 0;
  width: 100%;
  height: 115%;
  background: url("../img/banner/Accelerate.png");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}
.banner-black > * {
  position: relative;
  z-index: 2;
}
.banner-index {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: url("../img/banner/Background-index.png");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

.banner-black-global {
  margin-top: 244px;
  text-align: center;
  gap: 21px;
  flex-direction: column;
}

.banner-black-title {
  font-size: 84px;
  color: #fff;
  text-align: center;
  margin: 0;
}

.banner-black-info {
  gap: 32px;
  flex-direction: column;
  align-items: center;
}

.banner-black-info p {
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: #d0d5dd;
  width: 50%;
  margin: 0;
}

.banner-black-btn {
  gap: 32px;
  justify-content: center;
}

.banner-black-btn-1 {
  border: 1.5px solid #475467;
  padding: 12px 18px;
  border-radius: 8px;
  width: max-content;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.banner-black-btn-2 span,
.banner-black-btn-1 span {
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}

.banner-black-btn-2 {
  padding: 12px 18px;
  border-radius: 8px;
  background: linear-gradient(94.06deg, #0da8ff 0%, #005096 100.98%);
  box-shadow: 0px 4px 6px -2px #10182808, 0px 12px 16px -4px #10182814;
  transition: all 0.3s ease;
}

.banner-black-btn-2:hover {
  opacity: 0.8;
}

.banner-black-btn-1:hover {
  background: linear-gradient(94.06deg, #0da8ff 0%, #005096 100.98%);
}

.banner-black-btn-2 a {
  gap: 16px;
  align-items: center;
  display: flex;
}

.banner-black-btn-2-icon {
  width: 40px;
  height: 40px;
}

.banner-black-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-top: 25%;
  padding-bottom: 58px;
}

.banner-black-text {
  text-align: center;
}

.banner-black-text-child-1 {
  color: #98a2b3;
}

.banner-black-text-child-2 {
  color: #f9fafb;
}

.banner-black-logo-item {
  width: 150px;
  height: 46px;
}

.banner-icon {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  pointer-events: none;
}

.banner-icon-item {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icon-wrap {
  width: 60px;
  height: 60px;
  position: relative;
}

.icon-default,
.icon-active {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.icon-default {
  opacity: 1;
}
.icon-active {
  opacity: 0;
}

.banner-icon-item.active .icon-default {
  opacity: 0;
}
.banner-icon-item.active .icon-active {
  opacity: 1;
}

.icon-text {
  position: absolute;
  width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f9fafb;
  font-size: 24px;
  line-height: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.banner-icon-item.left-side .icon-text {
  right: 100%;
  padding-right: 15px;
  text-align: right;
}

.banner-icon-item.right-side .icon-text {
  left: 100%;
  padding-left: 15px;
  text-align: left;
}

.banner-icon-item.active .icon-text {
  width: max-content;
  opacity: 1;
  transition: width 0.8s ease, opacity 1s ease;
}

/* Tablet & mobile: ẩn icon */
@media screen and (max-width: 1024px) {
  .banner-icon {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .qa-top {
    margin-top: -30px;
    position: relative;
    z-index: -1;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .qa-top {
    position: relative;
    margin-top: -3.5%;
    z-index: -1;
  }
  .banner-black-layout > .page-icon {
    margin: -30px auto 0;
  }
  .banner-black-layout {
    overflow: hidden;
  }

  .banner-black::before {
    height: 112%;
  }

  .banner-black-global {
    margin-top: 109px;
  }

  .banner-black-title {
    font-size: 36px;
  }

  .banner-black-info p {
    width: 80%;
    font-size: 16px;
  }

  .banner-black-btn {
    gap: 19px;
  }

  .banner-black-btn-1,
  .banner-black-btn-2 {
    padding: 8px 11px;
  }

  .banner-black-btn-2 span,
  .banner-black-btn-1 span {
    font-size: 10px;
  }

  .banner-black-btn-2 a {
    gap: 10px;
    justify-content: center;
  }

  .banner-black-btn-2-icon {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
  }

  .banner-icon {
    display: none;
  }

  .banner-index {
    top: 33%;
    left: 68%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 500px;
  }

  .banner-black-text-child-1,
  .banner-black-text-child-2 {
    font-size: 16px;
    line-height: 28px;
  }

  .banner-black-content {
    padding-top: 18%;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 576px) {
  .qa-top {
    position: relative;
    margin-top: -7%;
    padding-top: 30px;
    z-index: -1;
  }
  .banner-black-global {
    margin-top: 200px;
  }
  .banner-index {
    top: 36%;
    width: 200%;
    height: 560px;
    left: 75%;
  }
}
@media screen and (max-width: 480px) {
  .banner-index {
    left: 83%;
  }
}
@media screen and (max-width: 400px) {
  .banner-index {
	top: 38%;
    height: 600px;
    left: 70%;
  }
}
