section {
  padding-top: 75px;
  padding-bottom: 75px;
}

section.no-paddingtop {
  padding-top: 0;
}

/* section banner */
.mb-40 {
  margin-bottom: 2.5rem;
}

.about-banner-section {
  width: 100%;
  position: relative;
  z-index: 1;
}

.about-banner-img-wrapper {
  width: 100%;
  position: relative;
  justify-content: center;
}

.about-banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-banner-content {
  position: absolute;
  top: 55%;
  left: 6%;
  transform: translateY(-50%);
  width: 40%;
  z-index: 2;
}

.about-label {
  font-size: clamp(8px, 1.5vw, 14px);
  letter-spacing: 2px;
  line-height: 1.4;

}

.about-title {
  font-size: clamp(24px, 3.5vw, 68px);
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -2px;
  width: 90%;
}

.about-description {
  font-size: clamp(8px, 0.9vw, 18px);
  line-height: 1.5;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
}

/* banner mobile */
.about-banner-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.about-banner-mobile {
  width: 100%;
}

.image-overlay {
  background: rgba(0, 0, 0, 0.4);
  /* màu đen, 40% mờ */
  z-index: 1;
}

.about-mobile-overlay {
  top: 27%;
  width: 80%;
  z-index: 2;
}

.about-mobile-title {
  font-size: clamp(30px, 9.7vw, 42px);
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.about-mobile-desc {
  font-size: clamp(15px, 4.2vw, 18px);
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;

}


/* section tầm nhìn */
.vision-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.section-title {
  font-size: 54px;
  font-family: Playfair Display;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 30px;
  color: #0C4242;
}

.section-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  font-family: Helvetica Neue Light;
  color: #687276;
  width: 80%;
}

.section-image img,
.image-rounded {
  border-radius: 12px;
}

.section-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.section-block-sm {
  padding-left: 80px;
  padding-right: 40px;
  flex-shrink: 0;
  padding-top: 88px;
}

.mission-images img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* mobile */
.section-title-mobile {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -2px;
  color: #0C4242;
  margin-bottom: 22px;
}

.section-text-mobile {
  font-family: Helvetica Neue Light;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #687276;
  text-align: justify;
}

.image-rounded {
  border-radius: 10px;
  overflow: hidden;
}

/* section meet our team */
.team-section-content {
  font-family: 'Helvetica Neue';
  color: #0C4242;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px
}

.team-section-title {
  font-family: 'Playfair Display';
  color: #0C4242;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
}

.slider-wrapper {
  max-width: 1272px;
  margin: 0 auto;
  position: relative;
  height: 808px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.doctor-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  position: relative;
  height: 100%;
}

.doctor-card {
  position: relative;
  width: 137px;
  height: 808px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: -1px;
  z-index: 1;
  box-shadow: 17px 9px 20px rgba(0, 0, 0, 0.25);
}

.doctor-card:first-child {
  margin-left: 0;
}

.doctor-card.active {
  width: 724px;
  z-index: 10;

}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.doctor-card.active .doctor-overlay {
  display: flex;
}

.doctor-card.active .active-img {
  opacity: 1;
}

.doctor-card.active .inactive-img {
  opacity: 0;
}

.doctor-card.active .dark-overlay {
  display: none;
}

.doctor-overlay h4 {
  font-weight: 400;
  font-size: 68px;
  line-height: 74px;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

/* .doctor-overlay p {
    font-family: Helvetica Neue Medium;
    font-weight: 500;
    line-height: 30px;
    margin: 0;
} */

.custom-border-top {
  display: inline-block;
  width: 355px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0px auto;
  padding-bottom: 16px;
}

.stat-value {
  display: inline;
  font-family: Helvetica Neue;
  font-weight: 700;
  font-size: 30px;
  margin: 0;
}

.stat-label {
  font-family: 'Helvetica Neue';
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2px;
  margin: 0;
}

.doctor-content i {
  font-size: 34px;
}


.view-more-btn {
  width: 218px;
  height: 50px;
  margin: 0 auto;
  color: #0C4242;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button_title {
  background-color: #0C4242;
  color: #ffffff;
  border-radius: 30px;
  width: 232px;
  height: 50px;
  font-family: 'Helvetica Neue';
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 20px;
}

/* Ảnh inactive/active */
.inactive-img,
.active-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.inactive-img {
  z-index: 1;
  opacity: 1;
  width: 137px;
}

.active-img {
  z-index: 2;
  opacity: 0;
}

/* .doctor-card:hover .active-img,
.doctor-card.active .active-img {
    opacity: 1;
}

.doctor-card:hover .inactive-img,
.doctor-card.active .inactive-img {
    opacity: 0;
} */

.dark-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 66, 66, 0.8);
  pointer-events: none;
  z-index: 3;
  width: 100%;
  height: 100%;

}

/* Overlay mờ dần */
.overlay-0 {
  background-color: rgba(12, 66, 66, 0.3);
}

.overlay-1 {
  background-color: rgba(12, 66, 66, 0.4);
}

.overlay-2 {
  background-color: rgba(12, 66, 66, 0.5);
}

.overlay-3 {
  background-color: rgba(12, 66, 66, 0.7);
}

.overlay-4 {
  background-color: rgba(12, 66, 66, 0.8);
}

/* Khi active thì ẩn overlay */
/* .doctor-card.active .dark-overlay,
.doctor-card:hover .dark-overlay {
    display: none;
} */

/* Nội dung overlay */
.doctor-overlay {
  position: absolute;
  inset: 0;
  padding: 0 95px 37px 95px;
  color: #fff;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 4;
}

.doctor-slider .doctor-card {
  position: relative;
  z-index: 10;
  /* mặc định ảnh sau cùng thấp nhất */
}

/* Gán z-index giảm dần theo thứ tự ảnh */
.doctor-card:nth-child(1) {
  z-index: 15;
}

.doctor-card:nth-child(2) {
  z-index: 14;
}

.doctor-card:nth-child(3) {
  z-index: 13;
}

.doctor-card:nth-child(4) {
  z-index: 12;
}

.doctor-card:nth-child(5) {
  z-index: 11;
  box-shadow: none;
}

.doctor-card:last-child.active {
  box-shadow: none;
}


.doctor-card.active {
  box-shadow: 17px 9px 20px rgba(0, 0, 0, 0.25);
}


/* mobile */
@media (max-width: 991.98px) {

  .team-section:not(.d-lg-none) {
    display: none !important;
  }

  .doctor-slider-mobile {
    position: relative;
    height: 500px;
    perspective: 1200px;
    overflow: visible;
  }

  .doctor-card-mobile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    overflow: hidden;
  }

  .doctor-card-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
  }

  .title-doctor-mobile {
    letter-spacing: -2px;
  }

  .decription-doctor-mobile {
    font-family: 'Helvetica Neue', sans-serif;
  }

  .experience-mobile {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 400;
    line-height: 17px;

  }

  .custom-viewmore-btn {
    color: #ffffff !important;
    border: px solid #ffffff;
    border-radius: 999px;
    background-color: transparent;
    padding: 3px 29px;
    letter-spacing: 2px;
    font-size: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }

  .custom-viewmore-btn:hover {
    background-color: #ffffff;
    color: #0C4242 !important;
  }

  .position0 {
    width: 310px;
    height: 400px;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
  }

  .position1 {
    width: 65px;
    height: 297px;
    transform: translate(calc(-50% + 187px), -50%) scale(1);
    z-index: 2;
    opacity: 1;
    border-radius: 0 16px 16px 0;
  }

  .position2 {
    width: 65px;
    height: 297px;
    transform: translate(calc(-50% - 187px), -50%) scale(1);
    z-index: 2;
    opacity: 1;
    border-radius: 16px 0 0 16px;
  }

  .doctor-card-mobile:not(.position0):not(.position1):not(.position2) {
    display: none;
  }

  .position1::after,
  .position2::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(12, 66, 66, 0.7);
    z-index: 3;
  }

  .inactive-img {
    opacity: 1;
    z-index: 1;
  }

  .active-img {
    opacity: 0;
    z-index: 2;
    border-radius: 10px;
  }

  .position0 .inactive-img {
    opacity: 0;
  }

  .position0 .active-img {
    opacity: 1;
  }

  .doctor-overlay-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.75rem;
    opacity: 0;
    z-index: 4;
    transition: opacity 0.3s ease;
  }

  .position0 .doctor-overlay-content {
    opacity: 1;
  }

  .btn-view-mobile {
    background-color: #0C4242 !important;

  }
}

/* end section dortor*/
/* section staff */
.staff-title {
  font-size: 54px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #0C4242;
  line-height: 1.1;
  letter-spacing: -1px;
}

.staff-card {
  max-width: 100%;
}

.staff-img-wrapper img {
  margin-bottom: 35px;
  border-radius: 20px;
  max-width: 610px;
  max-height: 360px;
}


.staff-role-title {
  font-size: 30px;
  font-family: Helvetica Neue Bold;
  font-weight: 700;
  line-height: 36px;
  margin-bottom: 15px;
  color: #7F7F7F;
  text-align: left;
}

.staff-desc {
  font-size: 18px;
  font-family: Helvetica Neue Light;
  font-weight: 300;
  line-height: 28px;
  color: #687276;
  text-align: left;
}

/* staff mobile */
.staff-title-mobile {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.2;
  color: #0C4242;
}

.staff-img-wrapper-mobile img {
  border-radius: 20px;

}

.staff-desc-mobile {
  font-size: 12px, 3.7vw, 16px;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  color: #687276;
  line-height: 1.5;
  text-align: center;
}

/* section media */
.media-title {
  font-size: 54px;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.1;
  ;
  color: #0C4242;
  letter-spacing: -1px;
}

.media-card-title {
  font-size: 24px;
  font-family: Helvetica Neue Medium;
  font-weight: 500;
  color: #7F7F7F;
  margin-bottom: 15px;
  line-height: 30px;
}

.media-read-more {
  font-size: 16px;
  font-family: Helvetica Neue Bold;
  font-weight: 700;
  color: #708E86;
  text-transform: uppercase;
  line-height: 20px;
  gap: 10px;
}

.media-img-wrapper img {
  border-radius: 16px;
}

.media-img-wrapper {
  margin-bottom: 30px;
}

/* media mobile */
.media-title-mobile {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -2px;
  ;
  color: #0C4242;
  text-align: center;
}

.media-card-title-mobile {
  font-size: 18px;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 400;
  color: #7F7F7F;
  line-height: 1.3;
  text-align: justify;
  padding-top: 20px;
  padding-bottom: 10px;
  margin-bottom: 0;
}

.media-read-more-mobile {
  display: inline-flex;
  font-size: 10px;
  font-family: Helvetica Neue Bold;
  color: #7F7F7F;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  align-items: center;
  gap: 10px;
}

.media-read-more-mobile .media-read-more-icon{
  width: 24px !important;   
  height: auto;  
  flex: 0 0 auto;
}

.media-carousel .owl-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  top: 24%;
}

.media-img-wrapper-mobile img{
  border-radius: 20px;
}



