@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dngv-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  display: flex;
  align-items: center;
}

.dngv-container-header {
  /* max-width: 1200px; */
  width: 80%;
  /* gap: 20px; */
  padding-top: 40px;
  padding-top: 40px;
}

.dngv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.dngv-card {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #a5deff;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 10px;
  position: relative;
  background: white;
  font-size: 16px;
  margin-right: 20px;
  margin-bottom: 10px;
}
.dngv-sidebar b {
  font-weight: 500;
}
.dngv-card.active {
  border-color: #a5deff;
  box-shadow: 0px 0px 15px 5px rgba(39, 143, 255, 0.5);
}

.dngv-card i {
  margin-right: 10px;
}

.dngv-content {
  display: none;
  flex-direction: column;
  /* gap: 20px; */
  /* margin-top: 10px; */
  /* align-items: center; */
}

.dngv-image-container {
  flex-direction: column;
  display: none;
  align-items: center;
}

.dngv-image-container img {
  width: 300px;
  height: 300px;
}

.dngv-text-container {
  padding: 10px;
}

.dngv-text-container div {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.dngv-text-container p {
  font-size: 16px;
  text-align: start;
}
.p-14 {
  padding: 56px 0;
}
.dngv-container-header div {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.dngv-container-header p {
  font-size: 16px;
  text-align: start;
}

.dngv-content-container {
  align-items: center;
  padding-left: 40px;
  padding-right: 40px;
}
.giao-vien-list.slider {
  width: 100%;
  height: auto;
  max-width: 348px;
  max-height: 348px;
  aspect-ratio: 1 / 1;
}
.giao-vien-list.slider .slick-arrow {
  background: rgba(0, 0, 0, 0.5);
  width: 30px;
  height: 50px;
}
.giao-vien-list.slider .slick-prev {
  left: -35px;
}
.giao-vien-list.slider .slick-prev:before {
  content: "❮";
}
.giao-vien-list.slider .slick-next {
  right: -35px;
}
.giao-vien-list.slider .slick-next:before {
  content: "❯";
}
.giao-vien-item {
  cursor: pointer;
}
.info-teacher-cus h2 {
  font-size: 16px;
}
.info-teacher-cus span {
  font-size: 14px;
}
.btn-xem-them-giao-vien{
	display:none;
}

@media (min-width: 550px) {
  .dngv-container {
    flex-direction: row;
    align-items: flex-start;
    align-items: center;
    height: 70vh;
  }

  .dngv-sidebar {
    width: 70%;
  }

  .dngv-content-container {
    width: 60%;
    display: flex;
    flex-direction: column;
  }

  .dngv-content {
    display: none;
  }

  .dngv-content.active {
    display: flex;
    align-items: center;
    animation: slideDown 0.5s ease-out forwards;
  }
}

.accordion-cus .accordion-title span, .accordion-inner p, .accordion-inner li{
	color:#fff;
}

/*show giáo viên*/
.giao-vien-item .info-teacher span {
  color: #fff;
}
.giao-vien-item .info-teacher h2 {
  color: #fff;
  font-weight: 700;
}
.giao-vien-list .info-teacher {
  position: absolute;
  top: 0;
  padding: 30px 20px 20px 20px;
  background: #b0bae2;
  height: 100%;
  opacity: 0;
  width: 100%;
  overflow-y: auto;
  height:100%;
  scrollbar-width: none; /* ẩn thanh scroll trên Firefox */
  -ms-overflow-style: none;
}
.giao-vien-list .info-teacher::-webkit-scrollbar {
  display: none; /* ẩn trên Chrome, Safari, Opera */
}
.giao-vien-list .giao-vien-item {
  position: relative;
}
.giao-vien-thumbnail {
  display: flex;
  justify-content: center;
}

.giao-vien-thumbnail img {
  width: 100%;
  height: 400px;
	    border-radius: 12px;
  object-fit: cover;
}

.giao-vien-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-top:30px;
}
.giao-vien-list .info-teacher:hover {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
  border-radius:12px;
	overflow-y:auto;
}
.slider.giao-vien-list {
  grid-template-columns: repeat(1, 1fr);
}
/*Slider 3 Cards*/

.slider-wrapper-cus {
  position: relative;
  width: 100%;
  margin: auto;
}

.slider-container {
  overflow: hidden;
  padding: 50px;
}

.slider-cus {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 16px;
}
.card-cus {
  flex: 0 0 calc((100% / 3) - 16px);
  padding: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-cus:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-cus img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.card-cus h3 {
  margin: 10px 0;
  font-weight: bold;
}

.card-cus p {
  font-size: 14px;
  color: #555;
}
.card-cus p br, .br-none p br{
	display:none;
}
.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  z-index:1;
}

.btn-left {
  left: -40px;
}

.btn-right {
  right: -40px;
}

/* Thu nhỏ kích thước nút slider */
.giao-vien-list .swiper-button-next,
.giao-vien-list .swiper-button-prev {
  width: 30px;
  height: 30px;
  font-size: 16px;
  background: #f1f1f1;
  color: #333;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Căn giữa theo chiều dọc */
.giao-vien-list .swiper-button-next::after,
.giao-vien-list .swiper-button-prev::after {
  font-size: 16px;
}

/* Hiệu ứng hover */
.giao-vien-list .swiper-button-next:hover,
.giao-vien-list .swiper-button-prev:hover {
  background-color: #ddd;
  color: #000;
}
.address h2 {
  font-size: 32px;
  color: #45c0f8;
  font-weight: 600;
  margin-bottom: 0;
}
.address span {
  color: red;
}

/*tại sao nên cho con học tại*/

.info-box {
  display: inline-block;
  padding: 20px 10px;
  border: 1px solid #fff;
  margin: 10px;
  cursor: pointer;
  border-radius: 10px;
  width: 180px;
  text-align: center;
}
.info-boxes {
  display: flex;
}
.info-boxes img{
	width:24px;
	padding-bottom:8px;
}
.info-box h3,
.info-box p {
  color: #fff;
}
.info-box h3{
	font-size:18px;
}
.info-box-1 {
  background: #f99;
}
.info-box-2 {
  background: rgb(254, 190, 140);
}
.info-box-3 {
  background: rgb(182, 226, 161);
}
.info-box-4 {
  background: rgb(174, 226, 255);
}
.info-box-5 {
  background: rgb(254, 190, 140);
}
.info-box-6 {
  background: rgb(166, 177, 225);
}
.info-box-7 {
  background: rgb(182, 226, 161);
}
/* Nội dung ẩn */
.popup-content-hidden {
  display: none;
}

/* Popup overlay */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Hộp popup chính */
.popup-content {
  background-color: #fff;
  margin: 10% auto;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;

  display: flex;
  flex-direction: column;
}

/* Header popup (tiêu đề + nút close) */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  padding-bottom: 0px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.popup-header h2 {
  margin: 0;

  font-weight: bold;
  color: #45c0f8;
  font-size: 32px;
  text-align: center;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
  padding-left: 20px;
}

/* Nội dung cuộn */
.popup-body {
  padding: 20px;
  overflow-y: auto;
  max-height: 400px;
}
.popup-body ul li ul {
  margin: 10px 20px;
}

.no-scroll {
  overflow: hidden !important;
  height: 100%;
}
.accordion-cus {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-cus .accordion-item {
  border: none;
}
.ielts-what,
.ielts-what .accordion-inner,
.ielts-what .accordion-title {
  background: #f7a4a4;
  color: #fff;
}
.band-4,
.band-4 .accordion-inner,
.band-4 .accordion-title {
  background: #febe8c;
  color: #fff;
}
.band-6,
.band-6 .accordion-inner,
.band-6 .accordion-title {
  background: #b6e2a1;
  color: #fff;
}
.ielts-what span,
.band-4 span,
.band-6 span {
  color: #fff;
}
.text-video {
  background-color: #aee2ff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
}
.text-video p {
  margin-bottom: 0;
}
.col-business .img {
  margin-bottom: 0px !important;
}
.row-business-el .col-inner {
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.text-more {
  padding-top: 40px;
  padding-bottom: 30px;
}
.button-business {
  margin-top: 20px !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}
.button-business:hover {
  background: #6acdf9 !important;
  border: none !important;
}
.button-business span{
	margin-top:7px;
}
.text-business p {
  margin-bottom: 6px;
}

.btn-xem-them-giao-vien {
    margin: 20px auto;
    display: block;
    padding: 10px 20px;
    background: #45c0f8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
	text-transform: none;
}

/* Mobile slider */
@media (max-width: 767px) {
  .info-boxes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .info-boxes::-webkit-scrollbar {
    display: none;
  }

  .info-box {
    flex: 0 0 70%;
    scroll-snap-align: center;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    transition: background 0.3s;
  }

  .slider-dots {
    text-align: center;
    margin-top: 10px;
  }

  .slider-dots button {
    padding: 5px;
    height: 8px;
   min-height: 8px;
    margin: 5px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
  }

  .slider-dots button.active {
    background: rgb(68, 191, 248); /* Màu xanh */
	padding: 5px;
    height: 8px;
   min-height: 8px;
  }
}

@media (max-width: 768px) {
  .row-business-el .col-inner{
  padding:30px 15px;
  }
  .p-14 {
    padding: 30px 0;
  }
  .dngv-container {
    flex-direction: column;
    align-items: flex-start;
    display: flex;
    align-items: center;
    width: 95%;

    margin-right: 10px;
    margin-left: 10px;
  }

  .dngv-container-header {
    width: 95%;
    margin-right: 10px;
    margin-left: 10px;
  }

  .dngv-container-header div {
    font-size: 16px;
    font-weight: bold;
  }

  .dngv-container-header p {
    font-size: 14px;
  }

  .dngv-sidebar {
    width: 100%;
  }

  .dngv-content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dngv-content {
    display: none;
  }

  .dngv-content.active {
    display: flex;
  }

  .dngv-image-container img {
    width: 200px;
    height: 200px;
  }

  .dngv-card {
    font-size: 16px;
  }

  .dngv-text-container div {
    font-size: 16px;
    font-weight: bold;
  }

  .dngv-text-container p {
    font-size: 14px;
  }
  .card-cus img {
    width: 150px;
    height: 150px;
  }
/*   .info-boxes {
    overflow-x: auto;
    height: 200px;
  } */
  .info-box{
  min-width:280px;
  }
  .popup-header h2{
  font-size:20px;
  }
  .card-overlay-text, .myowlC .item .link-list a{
  font-size:14px;
  }
   .card-cus {
    flex: 0 0 100%;
  }
  .btn-left {
  left: -20px;
	}
  .address h2 {
  font-size:28px;
  }
   .hidden-mobile-load {
        display: none !important;
    }
    .desktop-btn {
        display: none !important;
    }
    .btn-xem-them-giao-vien {
      	margin-top:16px;
    }
  .giao-vien-list {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  }
  .slider-container{
  padding-bottom:0;
  }
  .giao-vien-item .info-teacher span {
  font-size:14px;
  }
  .text-more {
  padding-bottom:0;
  }
	.giao-vien-list{
		padding-top:4px;
	}
	.text-list-teacher{
		padding-top: 20px;
	}
  
}
@media (min-width: 769px) {
    .hidden-desktop-load {
        display: none !important;
    }
    .mobile-btn {
        display: none !important;
    }
}
