@import url("../css/overwrite.css");
@import url("../css/common.css");

.advertising-banner {
  background-image: url("../assest/image/banner-head.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 540px;
  margin-bottom: 100px;
  border-bottom-right-radius: 64px;
  position: relative;
}

.banner-special {
  border-top-right-radius: 64px; 
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 55% 100%;
  height: 100%;
}

.advertising-description {
  position: relative;
}

.card-about {
  position: absolute;
  max-width: 640px;
  height: 450px;
  background-color: var(--primary-orange-6);
  border-radius: 64px;
  padding: 50px;
  right: 50%;
  bottom: -50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 15px;
}

.card-about,
.solution,
.navigate-page,
.info-heathy {
  color: var(--white);
}

  .card-about .breadcrumb-box a,
  svg,
  span {
    font-weight: 600;
  }

.detail-solution {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.card-main {
  margin-top: 90px;
}

.card-main-img img {
  width: 100%;
  height: 100%;
  border-radius: 32px;
}

.suggest-btn a {
  display: inline-block;
  width: 200px;
  height: 56px;
  font-size: var(--fs-16);
  background-color: var(--white);
  color: var(--primary-orange-6);
  border-radius: 32px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
}

.box-improve {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.header-history {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

  .header-history .description-main {
    text-align: center;
  }

.history-title {
  max-width: 460px;
  text-align: center;
  color: var(--primary-orange-3);
}

.provider-item {
  text-align: center;
}

  .provider-item h6 a {
    font-weight: 700;
  }

.provider-image {
  height: 282px;
  padding-bottom: 20px;
}

  .provider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
  }

.main-plan {
  background-color: var(--primary-orange-7);
  border-radius: 64px;
  padding: 60px 0;
  overflow-x: hidden;
}

.content-detail {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 350px;
}

.procedure-content {
  display: flex;
  flex-direction: column;
}

.procedure-content,
.procedure-image {
  flex-basis: 50%;
}

.procedure-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.kite-thumbnail {
  width: 190px;
  height: 190px;
}

  .kite-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.content-detail .title {
  color: var(--primary-orange-6);
}

/* ----- START CAROUSEL----- */
.main-plan-content {
  height: 520px;
  width: calc(100% + (100vw - 100% - 71%) / 2 - 20px);
  /* width: calc(100% + (100vw - 100%) / 2 - 33%); */
}

.card-plan {
  display: flex;
  flex-direction: column;
}

.card-plan-item {
  position: relative;
  height: 260px;
  box-sizing: border-box;
  padding: 0 10px;
}

.thumbnail {
  height: 100%;
}

  .thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
  }

.card-plan-detail {
  padding: 0 35px;
}

.card-plan-detail,
.box-number,
.box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 10px;
}

.line-space {
  height: 35px;
  width: 2px;
  background-color: var(--gray-color);
}

.box-content {
  text-align: center;
  row-gap: 5px;
}

/* ----- BOTTOM PLAN ------ */
.plan-slide-bottom .card-plan,
.plan-slide-bottom .card-plan-detail,
.plan-slide-bottom .box-number {
  flex-direction: column-reverse;
}

.plan-slide-bottom .card-plan-thumbnail {
  padding-top: 35px;
}

.plan-slide-bottom .card-plan-detail {
  border-bottom: 2px solid var(--gray-color);
}

.plan-slide-top .card-plan-detail {
  border-top: 2px solid var(--gray-color);
  margin-top: -2px;
}

.plan-slide-top .card-plan-thumbnail {
  padding-bottom: 35px;
}

.group-action-plan .btn-next-plan,
.group-action-plan .btn-prev-plan {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.group-action-plan .btn-next-plan {
  right: 7%;
}

.group-action-plan .btn-prev-plan {
  left: 0px;
}

/* ----- END  CAROUSEL ----- */

.support-media {
  padding: 50px 0;
}

.support-item {
  background-color: var(--primary-orange-1);
  padding: 10px;
  border-radius: 16px;
  margin-bottom: 10px;
}

.support-img {
  width: 50px;
  height: 50px;
}

  .support-img img {
    width: 100%;
    height: 100%;
  }

.support-description {
  display: flex;
  flex-direction: column;
  row-gap: 13px;
}

.support-content {
  padding-right: 60px;
}

.suggest {
  background-image: url("../assest/image/support/support-banner.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 479px;
  border-radius: 64px 64px 0 0;
  position: relative;
}

.suggest-side-left {
  background-image: url("../assest/image/support/suport-child.png");
  background-repeat: no-repeat;
  background-size: 40% 100%;
  background-position: top left;
  height: 100%;
}

.register-now a {
  display: inline-block;
  width: 200px;
  font-size: var(--fs-16);
  background-color: var(--white-color);
  color: var(--primary-orange-6);
  border-radius: 32px;
  font-weight: 700;
  line-height: 56px;
  text-align: center;
}

.suggest-btn a {
  background-color: var(--green-color);
  color: var(--white-color);
}

.suggest-content {
  max-width: 550px;
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translateY(-50%);
}

@media (max-width: 767.98px) {
  .card-plan-item {
    padding: 0 10px;
  }
  
  .group-action-plan .btn-next-plan {
    right: 0px;
  }

  .main-plan-content {
    width: 100%;
  }

  .main-plan {
    border-radius: 20px;
    padding: 20px 0;
  }

  .content-detail {
    max-width: 100%;
    row-gap: 15px;
  }

  .procedure-content {
    align-items: center;
  }

  .plan-slide-bottom .card-plan,
  .plan-slide-bottom .card-plan-detail,
  .plan-slide-bottom .box-number {
    flex-direction: column;
  }

  .plan-slide-bottom .card-plan-thumbnail {
    padding-top: 0px;
    padding-bottom: 35px;
  }

  .plan-slide-bottom .card-plan-detail {
    border-top: 2px solid var(--gray-color);
    border-bottom: none;
  }

  .card-plan-detail {
    padding: 0;
  }

  .support-media {
    padding: 20px 0;
  }

  .support-content {
    padding-right: 0;
  }

    .support-content .heading-coiny-lg {
      text-align: center;
    }

  .support-description {
    row-gap: 5px;
  }

  .suggest {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    border-radius: 0px;
  }

  .suggest-side-left {
    background-size: cover;
    background-position: center center;
  }

  .suggest-content {
    position: initial;
    transform: initial;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

    .suggest-content .heading-coiny-lg {
      text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .provider-image {
    height: 240px;
  }

  .main-plan {
    padding: 20px 0;
    border-radius: 20px;
  }

  .procedure-content {
    align-items: center;
  }

  .content-detail {
    max-width: 100%;
  }

  .plan-content {
    row-gap: 20px;
  }

  .main-plan-content {
    width: 100%;
  }

  .support-content .heading-coiny-lg {
    text-align: center;
  }

  .support-content {
    padding: 0;
  }

  .support-media {
    padding: 20px 0;
  }

  .suggest {
    height: 350px;
  }

  .suggest-side-left {
    background-size: 55% 100%;
  }

  .suggest-content {
    max-width: 350px;
    left: 53%
  }

  .register-now {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .procedure-content {
    padding-right: 15px;
  }

  .main-plan-content {
    width: calc(100% + (100vw - 100% - 22%) / 2 - 20px);
  }

  .suggest-side-left {
    background-size: 50% 100%;
  }

  .suggest-content {
    left: 55%;
  }

  .suggest {
    height: 350px;
  }

  .provider-image {
    height: 240px;
  }

  .content-detail {
    padding-right: 10px;
  }

  .kite-thumbnail {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .main-plan-content {
    width: calc(100% + (100vw - 100% - 31%) / 2 - 20px);
  }

  .suggest {
    height: 400px;
  }

  .provider-image {
    height: 270px;
  }

  .procedure-content {
    padding-right: 20px;
  }

  .suggest-side-left {
    background-size: 50% 100%;
    ;
  }

  .suggest-content {
    left: 50%;
  }
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
  .main-plan-content {
    width: calc(100% + (100vw - 100% - 48%) / 2 - 30px);
  }
}

@media (min-width: 1600px) {
  .main-plan-content {
    width: calc(100% + (100vw - 100% - 48%) / 2 - 25px);
  }
}

/* DÙNG CHUNG *
@media (max-width: 991.98px) {
  .suggest {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    border-radius: 0px;
  }

  .suggest-side-left {
    background-size: cover;
    background-position: center center;
  }

  .suggest-content {
    position: initial;
    transform: initial;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
