/*  */
.hero__about {
  padding: 48px 0;
  background: linear-gradient(114.95deg, #dff1ff 18.25%, #fde6e8 81.75%);
}
.hero__about .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero__about .container .hero-title {
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 48px;
  line-height: 130%;
  text-align: center;
  text-transform: uppercase;
  color: #005e9a;
}
.hero__about .container p {
  font-family: 1FTV VIP Classico URW;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #0a4670;
}

/* banner */
.banner__about .carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #d9d9d9;
  border: none;
  margin: 0 6px;
  position: relative;
  transition: background-color 0.3s, transform 0.3s;
  border: 1px solid #ffffff;
}

.banner__about .carousel-indicators .active {
  background-color: transparent;
  border: 2px solid #0a9fed;
  transform: scale(1.1);
}

.banner__about .carousel-indicators .active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: #0a9fed;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.banner__about .carousel-indicators button:hover {
  background-color: #0a9fed;
}
.banner__about {
  padding: 0;
}
.carousel-inner-height {
  height: 670px !important;
}
.banner__about .carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1441px) {
  .banner__about {
    height: auto;
  }
  .carousel-inner-height {
    max-height: 600px !important;
    height: auto !important;
  }
}

.kinh__doanh {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0;
  background: linear-gradient(114.95deg, #ebf4fb 18.25%, #fff0f2 81.75%);
  width: 100%;
}

.kinh__doanh .title__kd {
  position: relative;
  display: inline-block;
  padding: 16px 32px;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 32px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #005e9a;
  background: #fff;
  border-radius: 24px;
  z-index: 1;
  text-align: center;
}

.kinh__doanh .title__kd::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px 2px 2.5px 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.kinh__doanh .gach__ngang {
  position: relative;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #6282b0 50%, #ca2c85 50%);
  margin: 16px auto;
  z-index: 0;
  margin-top: -40px;
}

.kinh__doanh .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
  margin-top: 56px;
}

/* --- Toàn bộ CSS cho slider với hiệu ứng trượt --- */

/* Container chính */
.box__slide__kd {
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--primary-grey-0, #ffffff);
  position: relative;
  overflow: hidden !important;
}

/* Track bọc các slide để trượt */
.box__slide__kd .slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Mỗi slide chiếm 100% chiều rộng track */
.box__slide__kd .slider__kd {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 120px;
  overflow: auto;
  justify-content: center;
}

/* Tiêu đề trong slide */
.box__slide__kd .slider__kd h3 {
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 32px;
  line-height: 150%;
  text-align: center;
  text-transform: uppercase;
  color: #005e9a;
}

/* Nội dung trong slide */
.box__slide__kd .slider__kd p {
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #0a4670;
  text-align: justify;
}

/* Nút prev/next */
.kd-prev,
.kd-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.kd-prev {
  left: 10px;
}
.kd-next {
  right: 10px;
}

.kd-prev img,
.kd-next img {
  display: block;
  width: 28px;
  height: 28px;
}

/* Dots indicator */
.kd-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.kd-indicators .kd-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #d9d9d9;
  border: 1px solid #fff;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
  padding: 8px;
}

.kd-indicators .kd-dot:hover {
  background-color: #0a9fed;
}

.kd-indicators .kd-dot.active {
  background-color: transparent;
  border: 1px solid #0a9fed;
  transform: scale(1.1);
  position: relative;
}

.kd-indicators .kd-dot.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: #0a9fed;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.kd-prev,
.kd-next {
  z-index: 10;
}

@media (max-width: 1300px) {
  .kd-prev {
    left: 16px;
  }
  .kd-next {
    right: 16px;
  }
}

/*  */
.logo__popup {
  padding: 56px 0;
  padding-top: 0;
  background: linear-gradient(114.95deg, #b9e4fe 18.25%, #fbd0d6 81.75%);
}
.logo__popup .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.logo__popup .container .item {
  width: 144px;
  height: auto;
}
.logo__popup .container .item img {
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* ---------- FULLSCREEN OVERLAY POPUP ---------- */
.content__logo__popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  background: rgba(189, 189, 189, 0.8);
  z-index: 1000;
  padding: 0;
}
.content__logo__popup.active {
  display: flex;
}

.content__logo__popup .item {
  position: relative;
  width: 700px;
  max-height: calc(100vh - 10vh);
  margin: 5vh auto;
  border-radius: 4px;
  overflow: auto;
  background: #fafafa80;
  padding: 24px;
  border: 1px solid var(--primary-grey-0, #ffffff);
}

.content__logo__popup .item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Nút đóng vẫn như cũ */
.content__logo__popup .close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* slider logo  */
.slider__logo {
  padding: 0;
}

.slider__logo .container-fluild {
  overflow: hidden;
}

.slider__logo .slider__logo__about {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  transform: translateX(0);
}

.slider__logo .slider__logo__about .item {
  width: 196px;
  height: 196px;
  border-radius: 4px;
  padding: 41.5px 0;
  background: #ffffff;
  flex-shrink: 0;
}
.slider__logo .slider__logo__about .item img {
  width: 100%;
  object-fit: cover;
}

/* faq */
.faq__about {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0;
  background: linear-gradient(114.95deg, #f0f8ff 18.25%, #fef2f3 81.75%);

  width: 100%;
}

.faq__about .title__kd {
  position: relative;
  display: inline-block;
  padding: 16px 32px;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 32px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #005e9a;
  background: #fff;
  border-radius: 24px;
  z-index: 1;
  text-align: center;
}

.faq__about .title__kd::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px 2px 2.5px 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.faq__about .gach__ngang {
  position: relative;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #6282b0 50%, #ca2c85 50%);
  margin: 16px auto;
  z-index: 0;
  margin-top: -40px;
}

/* ---------- FAQ ACCORDION ---------- */


.faq__about .container .faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 56px;
}

.faq__about .container .faq .item {
  position: relative;
  border: 1px solid #ffffff;
  border-radius: 4px;
  background: #ffffffdb;
  overflow: hidden;
  padding: 24px;
}

/* HEADER */
.faq__about .container .faq .item h4 {
  margin: 0;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 24px;
  line-height: 150%;
  color: #212121;
  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;
}

.faq__about .container .faq .item h4::after {
  content: "+";
  font-size: 24px;
  color: #212121;
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq__about .container .faq .item.open h4::after {
  content: "–";
}

.faq__about .container .faq .item p {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #212121;
}
.faq__about .container .faq .item.open p {
  max-height: 1000px;
  opacity: 1;
  margin-top: 24px;
  text-align: justify;
}

.faq__about .container .faq .item:not(.open) p {
  margin-top: 0;
}

.faq__about .container .faq .item.open p {
  max-height: 1000px;
  opacity: 1;
}

.contact__about {
  padding: 56px 0;
}
.contact__about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
/* MAP */
.contact__about .map {
  width: 100%;
  height: 459px;
  border-radius: 8px;
  overflow: hidden;
}
.contact__about .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contact__about .form__contact {
  display: flex;
  flex-direction: column;
}

/* FORM TITLE */
.form__contact h3 {
  display: inline-block;
  margin: 0 auto 24px;
  font-family: "1FTV VIP Classico URW Bold";
  font-size: 32px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FORM GRID */
.contact-form {
  display: grid;
  row-gap: 20px;
}
.form-group.fullwidth {
  grid-column: 1 / -1;
}
.form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* INPUT & TEXTAREA */
/* INPUT & TEXTAREA chỉ viền dưới */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #eeeeee;
  border-radius: 0;
  box-sizing: border-box;
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 3%;
  color: #000000;
  background: transparent;
}

.form-group textarea {
  min-height: 51px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: #ca2c85;
}

/* BUTTON */
.form-group.btn-wrapper {
  text-align: center;
  grid-column: 1 / -1;
}
.btn-submit {
  background: linear-gradient(90deg, #6282b0 0%, #ca2c85 100%);
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  text-transform: uppercase;
  margin-top: 20px;
}
/* FF Toast container */
#ff-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 300px;
  padding: 12px 16px;
  background: #4caf50;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

#ff-toast.show {
  opacity: 1;
  transform: translateY(0);
}

#ff-toast.error {
  background: #f44336;
}

@media screen and (max-width: 1235px) {
  .kinh__doanh .title__kd {
    font-size: 30px;
  }
  .kinh__doanh .gach__ngang {
    margin-top: -40px;
  }
  .logo__popup .container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
  }
  .logo__popup .container .item {
    width: 120px;
    justify-content: center;
    margin: 0 auto;
  }
  .faq__about .title__kd {
    font-size: 30px;
  }
  .faq__about .gach__ngang {
    margin-top: -40px;
  }
}
@media screen and (max-width: 980px) {
  .contact__about .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media screen and (max-width: 768px) {
  .logo__popup .container {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
  }
  .logo__popup .container .item {
    width: 80px;
    justify-content: center;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .logo__popup .container {
    grid-template-columns: 3fr 3fr 3fr;
    gap: 10px;
    padding: 0;
  }
  .btn-submit {
    margin-top: 0;
  }
  .content__logo__popup {
    height: auto;
    top: 15%;
  }
  .slider__logo .slider__logo__about .item {
    width: 80px;
    height: 61px;
    display: flex;
    align-items: center;
  }
  .slider__logo .slider__logo__about .item img {
    width: 100%;
    object-fit: cover;
  }
  .hero__about {
    padding: 30px 0;
  }
  .hero__about .container .hero-title {
    font-size: 24px;
  }
  .hero__about .container p {
    font-size: 14px;
  }
  .kinh__doanh {
    padding: 40px 0 0 0;
  }
  .box__slide__kd {
    padding: 20px 0;
    margin-top: 0;
  }
  .kinh__doanh .title__kd {
    font-size: 24px;
  }
  .kinh__doanh .gach__ngang {
    margin-top: -35px;
  }
  .kinh__doanh .container {
    margin-top: 40px;
    gap: 40px;
  }
  .box__slide__kd .slider__kd {
    padding: 20px 40px;
  }
  .box__slide__kd .slider__kd h3 {
    font-size: 24px;
    margin-bottom: 0;
  }
  .box__slide__kd .slider__kd p {
    font-size: 14px;
  }
  .logo__popup {
    padding: 30px 10px;
  }
  .slider__logo {
    padding: 30px 0 0 0;
  }
  .faq__about {
    padding: 40px 0;
  }
  .faq__about .title__kd {
    font-size: 24px;
  }
  .faq__about .gach__ngang {
    margin-top: -32px;
  }
  .faq__about .container .faq {
    margin-top: 45px;
  }
  .faq__about .container .faq .item h4 {
    font-size: 18px;
  }
  .contact__about {
    padding: 40px 10px;
  }
  .contact__about .container .form__contact {
    font-size: 24px;
  }
  .form__contact h3 {
    font-size: 20px;
  }
  .btn-submit {
    font-size: 14px;
  }
}

@media screen and (max-width: 550px) {
  .faq__about .title__kd,
  .kinh__doanh .title__kd {
    font-size: 20px;
  }
  .kinh__doanh .title__kd {
    width: 75%;
    padding: 17px 17px;
  }
}

@media screen and (max-width: 469px) {
  .kinh__doanh .gach__ngang {
    margin-top: -43px;
  }
}
