@import url("../css/overwrite.css");
@import url("../css/variables.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-color-1);
  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);
}

.detail-solution {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

/* Môn thể thao phối hợp */
.card_sport {
  margin-top: 90px;
}

.list-sports {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.item-sports {
  flex: 0 0 calc(20% - 10px);
  box-sizing: border-box;
  text-align: center;
  padding: 10px;
}

.img-sport {
  height: 80px;
  margin-bottom: 15px;
}

.item-sports img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.item-sports:hover {
  background-color: #e6f5fc;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.item-sports h6 a {
  font-weight: 700;
  font-size: 18px;
}

.title_curriculum_sport {
  max-width: 800px;
  margin: 0 auto;
}

/* Hoạt động thực tế */
.actual_activities {
  background-image: url(/assest/image/actual_activities_study_program.png);
  padding-block: 100px;
  margin-top: 60px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 660px;
}

.title_actual_activities {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.activity-action {
  color: var(--primary-orange-3);
}

/* Slide */
.study-program-swiper {
  padding: 20px 0;
}

.swiper-wrapper {
  text-align: center;
}

.study-program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.overlay_card {
  height: 220px;
  position: relative;
}

.overlay_content {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 30px;
}

.item-activity:hover .overlay_content {
  opacity: 1;
  z-index: 9;
}

.card-about .breadcrumb-box a,
svg,
span {
  font-weight: 600;
}

/* Custom chung cho cả 2 nút */
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

  .swiper-button-prev svg,
  .swiper-button-next svg {
    width: 18px !important;
    height: 18px !important;
    color: #000;
  }

  .swiper-button-prev.custom_btn_swiper_left {
    margin-left: -3px !important;
  }

  .swiper-button-next.custom_btn_swiper_right {
    margin-right: -3px !important;
  }

.network_left {
  padding-right: 30px;
}

/* Mạng lưới trường liên kết */
.network_container {
  padding: 50px 0;
}

.description-main {
  font-weight: 400;
}

.child_network_card {
  padding: 16px 24px 16px 24px;
  background-color: white;
  border-radius: 20px;
  border: 1px dashed var(--primary-color-1);
  display: flex;
  justify-content: space-between;
  align-items: self-start;
}

.detail-network {
  flex: 1;
}

.child_network_card h5 {
  font-size: 16px;
  font-weight: 600;
}

.ifram_map {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title_network {
  color: var(--primary-color-1);
}

.contact_map {
  position: relative;
  text-decoration: none;
  align-items: center;
  color: #f26531 !important;
  font-weight: 600;
}

.add_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.map_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.view-detail-btn {
  width: 110px;
}

  .view-detail-btn a {
    color: var(--primary-color-1);
    font-weight: 600;
  }

.wrapper_network_card_left {
  max-height: 600px;
  overflow-y: scroll;
  scrollbar-width: none;
}

  .wrapper_network_card_left::-webkit-scrollbar {
    display: none;
  }

.custom_swiper_wrapper {
  max-width: 500px;
}

/* Đăng ký thử nghiệm */
.register_container {
  height: 480px;
  background-image: url(/assest/image/bg_study_program.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.btn_register_study {
  width: 250px;
  height: 56px;
  background-color: var(--green-color);
  border: 0;
  color: white;
  font-weight: 700;
  border-radius: 32px;
  text-align: center;
  line-height: 56px;
  display: inline-block;
}

  .btn_register_study:hover {
    background-color: #46aa3a;
  }

.wrapper_register_right {
  padding-left: 65px;
  display: flex;
  flex-direction: column;
}

  .wrapper_register_right p {
    max-width: 454px;
  }

@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .item-sports h6 a,
  .activity-item h6 a,
  .card-info h6 a {
    font-size: 17px;
  }

  .actual_activities {
    height: 550px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .item-sports h6 a,
  .activity-item h6 a,
  .card-info h6 a {
    font-size: 16px;
  }

  .actual_activities {
    height: 400px;
    padding-block: 50px;
  }

  .register_container {
    height: 100%;
  }

  .wrapper_register_row {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
  }

  .wrapper_register_right {
    padding: 0 20px;
  }

    .wrapper_register_right .heading-coiny-lg {
      text-align: center;
    }

    .wrapper_register_right p {
      max-width: 100%;
    }

  .btn-register-apply {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .curriculum_sport {
    margin-top: 35px;
  }

  .item-sports {
    flex: 0 0 calc(50% - 10px);
  }

  .actual_activities {
    padding-block: 30px;
    height: auto;
  }

  .network_wrapper {
    padding: 20px 0;
  }

  .wrapper_register_row {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
  }

  .wrapper_register_right {
    padding: 0px 20px;
  }

    .wrapper_register_right p {
      max-width: 100%;
    }

    .wrapper_register_right .heading-coiny-lg {
      text-align: center;
    }

  .btn-register-apply {
    display: flex;
    justify-content: center;
  }

  .child_network_card {
    padding: 10px;
    border-radius: 10px;
    row-gap: 10px;
  }

  .btn_register_study {
    height: 40px;
    line-height: 40px;
    width: auto;
    padding: 0 20px;
  }

  .network_left {
    padding: 0;
  }

  .child_network_card {
    flex-direction: column;
  }
}
