

/* Banner */
.wrapper-banner-carousel {
  background-image: url("../assest/image/bg-card.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-bottom-right-radius: 64px;
  height: 620px;
  position: relative;
  overflow: hidden;
}

.banner-item {
  position: absolute;
  top: 0;
  left: 0; /* Bắt đầu từ mép trái container */
  width: 68%;
  height: 100%;
  border-top-left-radius: 100px;
  background-image: url("../assest/image/child.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}

/* CSS VIDEO */
.video-play-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-top-right-radius: 100px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  filter: invert(1);
}

.carousel-control-prev {
  left: 40px;
}

.carousel-control-next {
  right: 40px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffff;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.image-item img {
  border-top-right-radius: 100px;
  width: 100%;
}

.card-ready {
  position: absolute;
  max-width: 600px;
  height: 500px;
  padding: 50px;
  background-color: var(--white-color);
  border-radius: 50px;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ANIMATIONS CARD */
.card-ready {
  animation: slideBoxRight 1.5s ease-out forwards;
}

.card-banner-slide .card-ready {
  animation: slideBoxLeft 1.5s ease-out forwards;
}

.card-banner-slide .banner-item {
  animation: bannerSlideRight 1.5s ease-in-out forwards;
}

.card-video-slide .video-play-child {
  animation: videoSlideLeft 1.5s ease-in-out forwards;
}

@keyframes slideBoxRight {
  0% {
    left: 7%;
  }

  100% {
    left: calc(100% - 600px - 7%);
  }
}

@keyframes slideBoxLeft {
  0% {
    left: calc(100% - 600px - 7%);
  }

  100% {
    left: 7%;
  }
}

@keyframes videoSlideLeft {
  0% {
    left: calc(100% - 68%);
  }

  100% {
    left: 0;
  }
}

@keyframes bannerSlideRight {
  0% {
    left: 0;
  }

  100% {
    left: calc(100% - 68%);
  }
}

.detail-more {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

  .detail-more h6 {
    color: var(--primary-orange-3);
    font-size: var(--fs-16);
  }

.description-main {
  font-size: var(--fs-16);
  color: var(--primary-black-1);
}

.register-now a {
  display: inline-block;
  height: 56px;
  font-size: var(--fs-16);
  background-color: var(--green-color);
  color: var(--white-color);
  border-radius: 32px;
  line-height: 56px;
  text-align: center;
  padding: 0 30px;
}

.car-view {
  position: absolute;
  bottom: -50%;
  right: 0;
}

  .car-view img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

.card-main {
  margin-top: 90px;
}

.child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px 32px 0 0;
}

.introduce {
  position: relative;
}

.two-girl {
  max-width: 260px;
  position: absolute;
  left: 46%;
  transform: translateX(-50%);
  bottom: -7%;
}

  .two-girl img {
    width: 100%;
  }

.introduce-description {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.title-curriculum {
  max-width: 700px;
  margin: 0 auto;
}

.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,
.activity-item h6 a,
.card-info h6 a {
  font-weight: 700;
  font-size: 18px;
}

.children-box {
  position: relative;
}

  .children-box::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 200px;
    background-color: var(--primary-orange-5);
    bottom: 0;
    border-radius: 64px 64px 0 0;
    z-index: -1;
  }

.activity-about-img {
  height: 250px;
  margin-bottom: 15px;
}

  .activity-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
  }

.about-school {
  padding: 0 60px;
}

.bee img {
  max-width: 91px;
  max-height: 78px;
}

.flower {
  position: absolute;
  right: 50px;
  bottom: -25%;
  width: 100px;
  height: 200px;
}

  .flower img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.activity-shool {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.card-kite {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
}

.item-box img {
  margin-bottom: 15px;
  width: 100%;
  max-height: 282px;
  border-radius: 32px;
}

.central-main {
  background-image: url("../assest/image/central.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 70px 0;
}

.map-google img {
  width: 100%;
}

.central-item {
  background-color: var(--white-color);
  padding: 12px;
  border-radius: 24px;
  border: 1px dashed var(--primary-color-1);
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}

  .central-item h6 {
    color: var(--primary-color-1);
    font-weight: 600;
  }

.phone-call {
  color: #ee7b46;
  font-weight: 600;
}

.card-permission {
  background-color: var(--yellow-color-2);
  position: relative;
  height: 450px;
}

.img-right {
  background-image: url("../assest/image/play-child.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 50% 100%;
  height: 100%;
  transform: scaleX(-1);
}

.content-permission {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-60%, -50%);
  max-width: 654px;
}

.school-detail-title a {
  font-weight: 700;
}

.navbar-toggler {
  display: none;
}

/* BÀI VIẾT */
.title_activities {
  font-size: 40px;
  font-weight: bolder;
  color: #232338;
}

.wapper_filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.group_btn_activities {
  justify-content: end;
}

.activities_content_card {
  height: 500px;
}

.card_child {
  border: 0;
}

.img-wrapper {
  height: 260px;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.card-body-detail {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.btn_card_date {
  display: flex;
  align-items: center;
  background-color: #009dd7;
  color: white;
  height: 32px;
  width: 103px;
  justify-content: center;
}

.btn_card_date:hover {
  background-color: #00aeee;
  color: white;
}

.btn_card_action:hover {
  background-color: #f26531;
  color: white;
}

.btn_card_action {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #f26531;
  border: 1px solid #f26531;
  height: 32px;
  width: 103px;
  justify-content: center;
}

.card-title-activities a {
  font-size: 18px;
  font-weight: 700;
}

/* Button pre next phân trang */
.pagination .btn_pre .page-link {
  border-radius: 10px;
  border: 1px solid rgb(235, 235, 235);
}

.pagination .btn_next .page-link {
  border-radius: 10px;
  border: 1px solid rgb(235, 235, 235);
}

.pagination .page-link {
  color: rgb(0, 0, 0);
  background-color: #fff;
  border: 0;
  font-weight: 600;
}

/* Nút active */
.pagination .page-item.active .page-link {
  background-color: #009dd7;
  color: #fff;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  text-align: center;
}

/* CSS MENU RESPONSIVE */
@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block;
  }
}

@media (min-width: 1400px) and (max-width: 1599.98px) {
  .img-right {
    background-size: 65% 100%;
  }

  .content-permission {
    left: 65%;
  }
}

/* ≥ 1200px và < 1400px  */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .wrapper-banner-carousel {
    height: 550px;
  }

  .card-ready {
    padding: 25px;
    height: 400px;
    border-radius: 30px;
    max-width: 450px;
    right: 3%;
  }

  .card-left-more .card-ready {
    left: 3%;
  }

  .detail-more {
    row-gap: 10px;
  }

  .car-view {
    bottom: -140px;
  }

    .car-view img {
      width: 100px;
      height: 100px;
    }

  .activity-about-img {
    height: 250px;
  }

  .img-right {
    background-size: 65% 100%;
  }

  .content-permission {
    left: 65%;
  }

  .card-permission {
    height: 350px;
  }

  .flower {
    width: 120px;
    height: 200px;
  }

  .detail-more {
    row-gap: 20px;
  }
}

/* ≥ 992px và < 1200px */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .wrapper-banner-carousel {
    border-bottom-right-radius: 20px;
    height: 500px;
  }

  .card-ready {
    padding: 25px;
    height: 350px;
    border-radius: 30px;
    max-width: 450px;
    right: 2%;
  }

  .card-left-more .card-ready {
    left: 2%;
  }

  .detail-more {
    row-gap: 10px;
  }

  .banner-item {
    border-top-left-radius: 40px;
  }

  .video-play-child {
    border-top-right-radius: 40px;
    width: 65%;
  }

  .activity-about-img {
    height: 210px;
  }

  .car-view {
    bottom: -130px;
  }

  .two-girl {
    width: 200px;
  }

  .card-permission {
    height: 350px;
  }

  .item-sports h6 a,
  .activity-item h6 a,
  .card-info h6 a {
    font-size: 17px;
  }

  .img-wrapper {
    height: 230px;
  }
}

/* ≥ 768px và < 992px */
@media (min-width: 768px) and (max-width: 991.98px) {
  .wrapper-banner-carousel {
    border-bottom-right-radius: 20px;
    height: 450px;
  }

  .card-ready {
    padding: 20px;
    height: 350px;
    border-radius: 30px;
    max-width: 400px;
    right: 2%;
  }

  .detail-more {
    row-gap: 10px;
  }

  .banner-item {
    border-top-left-radius: 40px;
  }

  .video-play-child {
    border-top-right-radius: 40px;
    width: 60%;
  }

  .about-school {
    padding: 0;
  }

  .activity-about-img {
    height: 200px;
  }

  .card-permission {
    height: 300px;
    width: 100%;
  }

  .flower {
    right: 15px;
    height: 170px;
    bottom: -30%;
  }

  .img-right {
    background-size: 80% 100%;
  }

  .content-permission {
    width: 50%;
    left: 75%;
  }

  .central-main {
    padding: 50px 0;
  }

  .item-sports h6 a,
  .activity-item h6 a,
  .card-info h6 a {
    font-size: 16px;
  }
}

/* < 768px */
@media (max-width: 767.98px) {
  .wrapper-banner-carousel {
    display: flex;
    flex-direction: column;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 100%;
    height: auto;
  }

  .carousel-item .video-play-child,
  .carousel-item .banner-item {
    position: absolute;
    border-radius: 0px;
    width: 100%;
    height: 250px;
    background-size: cover;
  }

  .card-ready {
    position: static;
    transform: initial;
    border-radius: 10px;
    padding: 20px;
    max-width: 100%;
    height: auto;
  }

  .detail-more {
    row-gap: 10px;
    align-items: center;
  }

  .introduce {
    flex-direction: column-reverse;
    row-gap: 20px;
  }

    .introduce .child {
      height: 300px;
      padding: 0;
    }

  .child img {
    border-radius: 0px;
  }

  .two-girl {
    display: none;
  }

  .introduce-description {
    align-items: center;
  }

  .item-sports {
    flex: 0 0 calc(50% - 10px);
  }

  .activity-item,
  .activity-box-right {
    flex-direction: column;
    row-gap: 25px;
  }

  .activity-about-img {
    height: 250px;
  }

  .activity {
    row-gap: 15px;
  }

    .activity-box-right .card-info,
    .activity .card-info {
      text-align: center;
    }

  .about-school {
    padding: 0;
  }

  .central-main {
    padding: 40px 0px;
  }

  .central-item {
    border-radius: 10px;
  }

  .detail-info {
    text-align: center;
  }

  .map-google {
    margin-top: 20px;
  }

  .card-permission {
    display: flex;
    flex-direction: column;
  }

  .img-right {
    position: static;
    height: 100%;
    background-size: cover;
  }

  .content-permission {
    position: initial;
    transform: initial;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 15px;
  }

  .title_activities {
    text-align: center;
  }

  .group_btn_activities {
    gap: 5px !important;
    justify-content: space-between;
  }
}

.activities_container {
    margin-top: 20px !important;
  }
