/* <!-- section banner reward desktop --> */

.banner-reward {
    position: relative;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0px 30px;
    align-items: center;
    justify-content: center;
}

#banner-desktop .slide-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;

    aspect-ratio: 1900 / 800;
}

.banner-reward-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* đổi từ contain -> cover */
    display: block;
    pointer-events: none;
}


.banner-reward-text {
    z-index: 10;
}

.banner-reward-text h2 {
    width: 495px;
}

.description-banner {
    width: 382px;
}

.main-content-banner {
    width: 68%;
    position: absolute;
    z-index: 11;
    top: 50%;
    left: 9.5%;
    transform: translateY(-50%);
}

.banner-btn {
    padding: 15px 35px;
    border-radius: 30px;
    background-color: #fff;
    color: #0C4242;
}


.call-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0.5px;
}

.call-number {
    font-weight: 500;
    font-size: 24px;
    color: #ffffff;
}

.banner-actions {
    margin-top: 60px;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .mobile-banner-img-wrapper {
        position: relative;
        aspect-ratio: 4 / 5;
    }

    .mobile-banner-content {
        position: absolute;
        top: 69%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        text-align: center;
        padding: 0 10px;
        z-index: 2;
    }

    .banner-headmobile-title {
        font-size: 42px;
        font-weight: 400;
        line-height: 1.1;
        letter-spacing: -2px;
        margin-bottom: 10px;
    }

    .mobile-banner-content {
        font-size: 18px;
        font-family: 'Helvetica Neue', sans-serif;
        font-weight: 300;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .btnbook-mobile {
        font-size: 18px;
        font-family: 'Helvetica Neue', sans-serif;
        font-weight: 700;
        line-height: 1.1;
        padding: 0.75rem 1.5rem;
        display: inline-flex;
        align-items: center;
        background-color: #fff;
        color: #0C4242;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .icon-small {
        width: auto;
        height: auto;
        max-width: 24px;
    }
}


/* section wellcome vita */
.w-wellcomevita {
    font-weight: 400;
    padding-left: 140px;
    padding-right: 140px;
}

/* section vision luxury */
.title-section {
    font-weight: 400;
}

.w-vision-text {
    padding-right: 80px;
}

.position-relative {
    position: relative;
}

.vision-image-desktop {
    max-width: 600px;
    max-height: 560px;

}

.vision-image-mobile {
    min-width: 370px;
    max-height: 370px;
}

.small-image {
    position: absolute;
    bottom: -63px;
    left: 10%;
}

.number-infor {
    margin-top: 160px;
}

.separator-line-vision {
    width: 1px;
    height: 120px;
    background-color: #AFBEBB;
    margin: 0 1rem;
}

.add-plus::after {
    content: "+";
    margin-left: -5px;
}

.vision-right-md {
    display: none;
}

/* section promotions */
.promotion {
    background-color: #EFF6F4;
}

.card-pro {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-pro-link {
    text-decoration: none;
}

.card-pro:hover {
    box-shadow: 0 5px 30px 0 rgba(112, 142, 134, 0.6);
    transform: translateY(-5px);
}

.card-pro-img-container {
    position: relative;
}

.card-pro-img-container .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #708E86;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;

}

.card-pro:hover .card-pro-img-container .img-overlay {
    opacity: 0.8;
}

.card-pro-img-container img {
    position: relative;
    z-index: 0;
}

@media (max-width: 767.98px) {
    .d-md-block {
        display: none !important;
    }

    .d-md-none {
        display: block !important;
    }

    .card-pro-img-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
        width: 100%;
    }

}


/* section areas */
.areas-section {
    position: relative;
    /* Đảm bảo phần tử có vị trí để đặt lớp phủ */
    background-image: url('../image/area-bgmain.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.areas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(175, 190, 187, 0.8);
    z-index: 1;
}

.areas-section>* {
    position: relative;
    z-index: 2;
}

.img-area-service {
    width: 26.25rem;
    height: 41.688rem;
    border-radius: 20px;
}

.area-services .col-md-6 {
    display: flex;
}

.area-services .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.area-services .card-img-container {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: start;
}

.area-services .card-img-container img {
    max-height: 100%;
    object-fit: contain;
}

.area-services .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 158px;
}

/* Card chính */
.card-area-link {
    text-decoration: none;
    color: inherit;
}

.service-card .card-area-link {
    background-color: #ffffff;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card-bg {
    background-position: center;
    background-size: cover;
    background-color: #ffffff;
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* Card 1 Background */
.card-1-bg {
    background-image: url('../image/areabg1.jpg');
    background-position: center bottom;
    background-size: cover;
}

/* Card 2 Background */
.card-2-bg {
    background-image: url('../image/areabg2.jpg');
}

/* Card 3 Background */
.card-3-bg {
    background-image: url('../image/areabg3.jpg');
}

/* Card 4 Background */
.card-4-bg {
    background-image: url('../image/areabg4.png');
}

/* Card 5 Background */
.card-5-bg {
    background-image: url('../image/areabg5.jpg');
}

/* Card 6 Background */
.card-6-bg {
    background-image: url('../image/areabg6.jpg');
}

.service-card:hover .card-icon {
    filter: brightness(0) invert(1);
}

.service-card:hover .card-img-container .card-img {
    content: url('../image/area1hover.png');
}

.arrow-icon {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-card:hover {
    background-color: #0e4238;
    opacity: 0.6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-card:hover .service-card-bg {
    opacity: 0.2;
}

.service-card:hover .cl-gray,
.service-card:hover .cl-pgray {
    color: #ffffff;
}

.service-card:hover .cl-pgray {
    margin-bottom: 0.5rem;
}

.service-card:hover .arrow-icon {
    visibility: visible;
    opacity: 1;
    height: auto;
    margin-top: 0.1rem;
}

/* 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;

    }
}



/* section award */

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background-color: #0C4242 !important;
}


/* section brands */

.brand-row {
    justify-content: space-between;
    align-items: center;
}

.brand {
    flex: 0 0 18%;
}

/* section feedback */
.feedback-mobile {
    display: none !important;
}

.feedback-head-title {
    display: flex;
    justify-content: space-between;
}

.feedback-content {
    min-height: 200px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}


/* section Articles & Tips Blog */
.articles-head-title {
    display: flex;
    justify-content: space-between;
}

.blogmain-title {
    font-size: 24px;
    line-height: 36px;
}

.blog-text-link:hover h4 {
    color: #0C4242;
}

.read-more-link {
    color: #7F7F7F;
}

.read-more-link:hover {
    color: #0C4242;
}

.blog-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    /* đổ bóng nhẹ */
}

.blog-item:hover p {
    color: #0C4242;
}

.blog-main-img{
    /* max-width: 600px;
    max-height: 420px; */
    border-radius: 20px;
}

.blog-list-img{
    max-width: 100px;
    max-height: 100px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.5rem;
}



/* section running track */
.running-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.running-track {
    display: flex;
    width: max-content;
    animation: runMove 20s linear infinite;
}

.running-group {
    display: flex;
}


@keyframes runMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 991px) {

    /* <!-- section banner reward desktop --> */
    .banner-reward {
        padding: 0px 0px;
    }

    /* <!-- section banner reward mobile --> */
    .banner-reward-img {
        border-radius: 0px;
    }

    .main-content-banner {
        width: 100%;
        text-align: center;
        position: absolute;
        z-index: 11;
        top: 55%;
        left: 50%;
        padding: 0px 40px;
        transform: translate(-50%, 0%);
    }

    .description-banner {
        width: 100%;
    }

    .banner-btn {
        font-size: 16px;
    }

    .banner-actions {
        margin-top: 30px;
        width: auto !important;
    }
}

@media (max-width: 1024px) {
    .banner-actions {
        width: 435px;
    }
}

@media (max-width: 440px) {
    .main-content-banner {
        width: 100%;
        text-align: center;
        position: absolute;
        z-index: 11;
        top: 54%;
        left: 50%;
        transform: translate(-50%, 0%);
    }
}