/* form booking popup */
.appointment-layout {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

.modal .appointment-layout {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  text-align: center;
  box-shadow: none;
}

/* pagination*/
.paginator a.paginator-current {
  background-color: #00617f;
  border: 1px solid #00617f;
  color: white;
  border-right: none;
}

.paginator a {
  color: black;
  /* float: left; */
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  border: 1px solid #ddd;
  border-right: none;
}

.paginator .paginator-current.paginator-page-first,
.paginator a.paginator-previous {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.paginator a.paginator-next {
  border-right: 1px solid #ddd;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.paginator a:hover:not(.paginator-current) {
  background-color: #ddd;
}

.paginator {
  text-align: center;
  margin-top: 10px;
  padding-bottom: 10px;
}

/* custom */
.text-info-a-1 {
  color: #ffffff;
  text-decoration: none;
}

.text-info-a-1:hover,
.text-info-a-1:focus {
  text-decoration: none;
  color: #ffffff;
}

.text-info-a-2 {
  color: #319c8a;
  text-decoration: none;
}

@media only screen and (min-width: 768px) {
  .form-appointment {
    background-color: #e2f1ee;
    padding: 30px;
    width: 720px;
  }

  /* .modal-dialog {
    max-width: 720px !important;
  } */
}

/* @media only screen and (min-width: 576px) {
  .modal-dialog {
    max-width: 688px !important;
  }
} */

.pt-50 {
  padding-top: 50px;
}

.section-infrastructure {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.text-primary-color1 {
  color: #319c8a;
}

.aside-right {
  border-radius: 20px;
}

.accordion.service-features .accordion-item:last-of-type .accordion-button {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0;
}

.accordion.service-features .accordion-item .accordion-button.collapsed {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 0;
}

.btn-custom-service {
  width: 546px;
}

@media only screen and (max-width: 768px) {
  .pt-32 {
    padding-top: 32px;
  }

  .navbar-links .nav-item {
    padding-left: 12px;
    padding-right: 12px;
  }

  .btn-toc {
    top: 10vh;
    left: 12px;
  }

  .tocs {
    max-height: calc(90vh - 45px);
    top: calc(10vh + 15px);
    left: 12px;
  }
}

.single-team-expert {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4; /* Giới hạn số dòng */
  overflow: hidden;
  text-overflow: ellipsis;
}

.topstory-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-cate {
  margin-bottom: 10px;
}

.periodic-package-title,
.periodic-package-price {
  font-size: 24px;
}

.card-package-expert {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aside-right .title-type-6 {
  font-size: 24px;
}

@media only screen and (min-width: 768px) {
  .btn-close.position-absolute {
    top: 28px;
    right: 0px;
  }
}

.topstory-body {
  padding: 25px;
}
@media only screen and (min-width: 768px) {
  .topstory-body {
    padding: 48px;
  }
}

.table-primary-color td {
  vertical-align: middle;
}

@media only screen and (min-width: 768px) {
  .topstory-body {
    padding: 48px;
  }
}

@media only screen and (min-width: 768px) {
  .intro-break-text {
    display: inline-block;
    word-wrap: break-word;
  }
}

/* MOBILE */
@media (max-width: 767.98px) {
  .swiper-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
  }

  .swiper-btn-group .swiper-button-next,
  .swiper-btn-group .swiper-button-prev {
    position: static !important;
    margin: 0 !important;
    transform: none !important;
  }
  .package-list {
    margin-top: 10%;
  }
  .display-mobile {
    display: none !important;
  }
  .display-block-mobile {
    display: block;
  }
  .text-center-mobile {
    text-align: center;
  }
  .mb-mobile {
    margin-bottom: 10px !important;
  }

  .subbanner-content {
    top: 70% !important;
  }

  .container {
    --bs-gutter-x: 2.5rem;
  }
  .navbar-toggler {
    padding: 0 !important;
  }

  .section-mb-mobile {
    margin-bottom: 25px;
  }

  .btn-normal {
    flex-grow: 0 !important;
    width: 240px !important;
    padding: 0 28px;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
  }
  .btn-custom {
    flex-grow: 0 !important;
    width: 240px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
  }
  .btn-custom {
    background-color: #00617f !important;
  }
  .btn-custom span {
    flex-grow: 0 !important;
    width: 240px !important;
    height: 40px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
  }
  .btn-custom span::after,
  .btn-custom span::before,
  .btn-custom::before {
    display: none;
  }

  .title-footer {
    font-size: 16px;
  }
  .list-unstyled {
    font-size: 14px;
  }
  .img-mobile {
    max-width: 90%;
  }
  .copyright {
    font-size: 14px;
  }
  .section-testmonial::before {
    bottom: -11%;
    left: -2%;
  }
  .section-mb {
    margin-bottom: 25px;
  }
  .swiper-wrapper {
    padding-block: 0px;
  }

  .section-packages .package-list {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1200px;
  }

  .package-slider .swiper-slide {
    width: 100% !important;
    display: flex;
    justify-content: center;
    padding-inline: 16px;
  }

  .package-item {
    width: 100%;
    margin: 0 auto;
  }
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 15px;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.mobile-bottom-nav .mobile-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #a8dcd1 0%, #dcf3ef 100%);
  border-radius: 15px;
  padding: 10px 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #0f5156;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.mobile-bottom-nav .nav-item:last-child {
  border-right: none;
}

.mobile-bottom-nav .nav-item .icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item .text {
  font-size: 12px;
  font-weight: 500;
}

.mobile-bottom-nav .nav-item:active {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .text-md-left-force {
    text-align: left !important;
  }

  .text-md-start-force {
    text-align: start !important;
  }
  .display-block-mobile {
    display: none;
  }
  .heading.text-center:has(+ * .hover-zoom) {
    margin-bottom: 34px;
  }
  .section-mb {
    margin-bottom: 50px;
  }
  .swiper-wrapper {
    padding-block: 16px;
  }
  .newsSwiper {
    padding-inline: 16px;
  }
  .section-testmonial::before {
    bottom: -23%;
    left: -1%;
  }

  .package-list {
    width: 100%;
    overflow: hidden;
    padding: 10px;
  }

  .package-slider {
    width: 100%;
    overflow: visible;
  }

  .package-slider .swiper-wrapper {
    padding-top: 15px;
    padding-bottom: 25px;
  }

  .package-slider .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
  }

  .package-item {
    width: 100%;
    background: #fff;
  }

  .hover-zoom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hover-zoom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 100;
    position: relative;
  }
}

.hover-zoom {
  transition: all 0.3s ease;
  border-radius: 20px;
}

.hover-zoom:hover {
  transform: scale(1.05);
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

  z-index: 10;
}

.book-appointment-inner {
  border-radius: 25px;
}

.service-card {
  border-radius: 20px;
}

.team-item {
  border-radius: 20px;
}

.card-news {
  margin-bottom: 0;
}
