.lspace2px {
    letter-spacing: 2px;
}

.title-footer {
    max-width: 35rem;
    text-align: left;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.875rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}


.footer-hotline {
    font-size: 30px;
    margin-top: 7px;
    font-weight: bold;
    color: white !important;
    text-decoration: none !important;
}


.email-input {
    height: 55px;
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #333;
    background-color: #ffffff;
    outline: none;
}

.email-input::placeholder {
    color: #7a7a7a;
}


.social-icons a {
    color: inherit;
    text-decoration: none;
}

.social-icons a:hover {
    color: #d0d0d0;
}

*/ .text-left {
    text-align: left;
}

.custext {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

.custom-line {
    border: none;
    height: 1px;
    background-color: #d0d0d0;
    margin: 2rem 0;
}

/* social media bar  */
.btn-toggle-social {
    display: none;
}

.social-bar-mobile {
    display: none;
}

.social-bar {
    display: block;
    position: fixed;
    top: 55%;
    right: 103px;
    transform: translateY(-50%);
    background-color: rgba(12, 66, 66, 0.3);
    padding: 7px 8px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 50px;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* Call hover */
.social-icon.call:hover img {
    content: url('../image/phonebar-hover.svg');
}

/* Messenger hover */
.social-icon.messenger:hover img {
    content: url('../image/messbar-hover.svg');
}

/* Zalo hover */
.social-icon.zalo:hover img {
    content: url('../image/zalobar-hover.svg');
}



.btn-signupbyemail {
    width: 55px;
    height: 55px;
    background-color: #0C4242;
    margin-left: 0.8rem;
}

.btn-signupbyemail:hover .image-arrow {
    content: url('/themes/vita/assets/image/arrow-dark-green.svg');
}

.btn-signupbyemail:hover {
    background-color: #FFFFFF;
}

.signup-section {
    margin-top: 1.5rem;
}

.signup-newsletter {
    padding-top: 60px;
}

.footer-info {
    padding: 0;
}

.social-icons-footer {
    display: flex;
    align-items: center;
    gap: 25px;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 103px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    line-height: 50px;
    z-index: 1000;
    background-color: rgba(12, 66, 66, 0.6);
}

#backToTop img {
    vertical-align: middle;
    pointer-events: none;
}

#backToTop:hover {
    background-color: rgba(12, 66, 66, 0.3);
}

@media (max-width: 991px) {

    /* ============= Footer =============*/
    .title-footer {
        text-align: center;
        font-size: 26px;
        line-height: 32px;
    }

    .btn-signupbyemail {
        background-color: #AFBEBB;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .social-bar-mobile {
        background-color: rgba(12, 66, 66, 0.3);
        border-radius: 40px;
        padding: 7px 8px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }


    .social-iconmb {
        width: 55px;
        height: 55px;
        background-color: #D9D9D9;
        border-radius: 50%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .social-container {
        position: fixed;
        top: 155px;
        right: 35px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .contact-label {
        background-color: white;
        padding: 7.5px 16.5px;
        border-radius: 50px;
        border: none;
    }

    .btn-close-social {
        display: flex;
        background-color: white;
        padding: 14px 14px;
        border-radius: 50px;
        border: none;
    }

    .social-icons {
        display: flex;
        justify-content: space-around;
    }

    .social-icons-footer {
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 0px;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    #backToTop {
        right: 30px;
    }

    /*start popup mục lục */
    .overlay-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #00000080;
        z-index: 1999;
        transition: opacity 0.3s ease;
    }

    .index-container {
        position: fixed;
        top: 159px;
        right: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 0px 35px;
        z-index: 2000;
    }

    #socialBarMobile {
        z-index: 3000;
        top: -100px;
        position: relative;
    }

    .list-index-box {
        background-color: #EFF6F4;
        border-radius: 20px;
        padding: 20px 25px;
    }

    .btn-drgreen {
        background-color: #0C4242;
        border-color: #0C4242;
        color: #ffffff;
        border-radius: 30px;
        padding: 10px 31px;
        width: fit-content;
        margin: 0 auto;
    }

    .border-bottom {
        border-bottom: 1px solid #AFBEBB !important;
    }

    .py-13 {
        padding: 13px 0;
    }

    .list-index-box ul li.active a {
        color: #0C4242;
        font-family: 'Helvetica Neue Medium', sans-serif;
        font-weight: 500;
    }

    .list-index-box ul li.active {
        border-bottom: 1px solid #0C4242 !important;
    }


    .list-index-box ul li a {
        color: #4D4D4D;
    }

    .vertical-line-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .vertical-line-bg {
        width: 1px;
        background-color: #AFBEBB;
        height: 95%;
        position: relative;
        border-radius: 1px;
    }

    .vertical-line-fill {
        background-color: #0C4242;
        width: 4px;
        height: 32px;
        /* đúng với 1 item TOC */
        position: absolute;
        left: -1.5px;
        top: 0;
        border-radius: 10px;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    /* end popup mục lục */
    #mobile-toc-list {
        max-height: 315px;
        overflow-y: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE & Edge */
    }

    #mobile-toc-list::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }



}

/* menu bar */
.menu-item-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.custom-mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0C4242;
    display: flex;
    padding: 29px 0;
    max-height: 103px;
    z-index: 1021;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, 0.2);
}

.custom-mobile-footer .menu-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-family: 'Helvetica Neue', serif;
    font-size: 12px;
    font-weight: 400;
}

.custom-mobile-footer .menu-item .icon-wrapper {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.custom-mobile-footer .menu-item .icon-wrapper img {
    width: 24px;
    height: 24px;
}

.menu-item.active .icon-wrapper {
    border: 1px solid #AFBEBB;
    background: radial-gradient(circle, #0C4242, #577D7D, #FFFFFF);
    box-shadow: 1px 2px 3px 0 #0C4242;
}

/* overplay */
.custom-mobile-footer .menu-item.dimmed .icon-wrapper {
    opacity: 0.5;
}

.custom-mobile-footer .menu-item.dimmed span {
    opacity: 0.5;
}

/* @media (max-width: 991px) {
    .container-css {
        max-width: 720px;
    }

} */


@media (min-width: 992px) {
    .custom-mobile-footer {
        display: none;
    }
}

/* form đặt hẹn */
.title-book-footer {
    color: #0C4242;
    font-family: 'Playfair Display';
    font-size: 34px;
    font-weight: 400;
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 30px;
}

/* select chọn đối tượng  */
.people-select-container {
    position: relative;
    font-family: 'Helvetica Neue', sans-serif;
}

.people-dropdown {
    border-radius: 25px;
    user-select: none;
}

.people-selected-form {
    text-align: left;
    color: #0C4242;
    border: 1px solid #ced4da;
    border-radius: 50px;
    padding: 16px 25px;
    cursor: pointer;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 14px;
    background-image: url('../image/Vector-down.svg');
    background-repeat: no-repeat;
    background-position: right 38px center;
}

.people-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f0f7f6;
    border-radius: 30px;
    padding: 15px 0;
    z-index: 1000;
}

.people-options ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.people-options li {
    padding: 8px 14px;
    font-size: 14px;
    color: #24423d;
}

.people-options li:hover {
    background: #e0eceb;
    cursor: pointer;
}

.people-separator {
    border: none;
    border-bottom: 1px solid #ccc;
    margin: 0 14px;
}

.hidden {
    display: none;
}

/* ___ */

.mobile-appointment-form {
    position: fixed;
    bottom: 103px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0px 30px 30px 34px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: transform;
}

.mobile-appointment-form.slide-out {
    transform: translateY(100%);
    opacity: 0;
}

.mobile-appointment-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-appointment-form input,
.mobile-appointment-form select,
.mobile-appointment-form textarea {
    width: 100%;
    padding: 16px 25px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
}

.mobile-appointment-form input::placeholder,
.mobile-appointment-form textarea::placeholder {
    color: #0C4242;
    /* Bạn thay #999999 bằng mã màu bạn muốn */
    opacity: 1;
    /* Đảm bảo không bị mờ do mặc định của trình duyệt */
}

.mobile-appointment-form textarea {
    resize: none;
    border-radius: 15px;
    height: 80px;
}

.mobile-appointment-form button {
    background-color: #0a3d3f;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mobile-appointment-form button:hover {
    background-color: #062d2f;
}

.mobile-appointment-form img.img-fluid {
    display: block;
    margin: 0px auto 10px auto;
}

.mobile-appointment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000080;
    z-index: 1020;
}

/* form drag  */
.form-drag-area {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.form-drag-handle {
    width: 48px;
    height: 6px;
    background: #D9D9D9;
    border-radius: 20px;
    position: relative;
    top: -14px;
}

/* button liên hệ */
.lien-he-wrapper {
    position: relative;
}

.contact-icons {
    position: absolute;
    bottom: 98px;
    right: 50%;
    transform: translateX(50%);
    z-index: 999;
}

.contact-icons-container {
    background: #003D38;
    border-radius: 50px;
    padding: 8px;
    box-shadow: inset 0 0 4px 0 rgba(255, 255, 255, 0.2);
}

.contact-icon-link {
    display: block;
    margin: 5px auto;
}

.contact-icon-img {
    width: 55px;
    height: 55px;
    display: block;
    transition: transform 0.2s ease;
}

.contact-icon-img:hover {
    transform: scale(1.1);
}

.social-icons-footer a {
    position: relative;
    display: inline-block;
}

.social-icons-footer a img {
    display: block;
    transition: opacity 0.3s ease;
}

.social-icons-footer a .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.social-icons-footer a:hover .img-default {
    opacity: 0;
}

.social-icons-footer a:hover .img-hover {
    opacity: 1;
}

@media (max-width: 991px) {
    .footer-section {
        padding-bottom: 103px;
    }

    #backToTop {
        display: none !important;
    }
}