.banner{
    position: relative;
    overflow: hidden;
}
.banner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}
.banner-inner{
    padding: 150px 0;
    display: flex;
    align-items: center;
    z-index: 1;
    position: relative;
}
.bnr-title{
    font-size: 40px;
}
@media (min-width: 1170px) {
    .banner-content{
        width: 70%;
        margin-left: 0;
    }
    .banner-content p{
        font-size: 18px;
    }
    .bnr-title{
        font-size: 50px;
    }
}
@media (max-width: 1990px) {
    .banner-inner{
        padding: 8vw 0;
    }
}
@media (max-width: 767px) {
    .banner-inner{
        padding: 10vw 0;
    }
    .txt-mb {
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Giới hạn 3 dòng */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: all 0.3s ease;
        max-height: 6em;
    }
    .txt-mb.expanded {
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        text-overflow: unset !important;
        max-height: none !important;
    }
}

.title-cm{
    font-family: var(--f-title);
    font-size: 39px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}
@media (max-width: 767px) {
    .title-cm{
        font-size: 32px;
    }
}
.text-f18{
    font-size: 18px;
}
.form-box{
    background-color: #f8f8f8;
}
.form-wrap{
    border:1px solid var(--c-main);
    background: #fff;
    width: 720px;
    max-width: 100%;
    margin: 0 auto;
}
.form-title{
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding:15px;
    background-color: var(--c-main);
}
.form-inner{
    width: 450px;
    max-width: calc(100% - 30px);
    margin-left: auto;
    margin-right: auto;
    padding: 30px 0 35px 0;
}
.checkbox-list li{
    display: inline-block;
}
.checkbox-list li + li{
    margin-left: 70px;
}
.form-content .row{
    justify-content: flex-start;
    margin-left: -7px;
    margin-right: -7px;
}
.form-content .row >div{
    margin-left: 0;
    padding-left: 7px;
    padding-right: 7px;
}

/* FAQ
------------------------------------------*/
@media (min-width: 767px) {
    .decs{
        text-align: center;
    }
}
.faqbox__button ul li{
    margin-bottom: 15px;
}
.faqbox .dropdownSub{
    display:none;
}
.dropdown__inner {
    border: 1px solid #D6D6D6;
    border-radius: 5px;
}
.dropdown{
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 20px;
}
.dropdown:hover,
.dropdown:focus{
    box-shadow: 5px 0 12px rgb(0 0 0 / 15%);
}
.question{
    padding: 20px 50px 20px 30px;
    position: relative;
    cursor: pointer;
    font-weight: 500;
    font-size: 19px;
}
/*
.faq-list > div:not(:last-of-type){
  border-bottom: 1px solid #D6D6D6;
}
*/
.dropdownSub{
    padding: 20px 30px 20px 30px;
    display: none;
    position: relative;
}
.dropdownSub:before{
    content: '';
    width: calc(100% - 60px);
    height: 2px;
    border-top:2px dotted #D6D6D6;
    position: absolute;
    top:0;
    left: 30px;
}
.question:after{
    content: '';
    width: 20px;
    height: 24px;
    background: url("../img/icon/icon-dropdown.svg") no-repeat center center;
    position: absolute;
    right: 25px;
    top: calc(50% - 12px);
}
.dropdown_toggle .question:after{
    transform: rotate(180deg);
}
.medical-facility-list {
    list-style-type: disc;
    padding-left: 20px;
    color: #333;
    margin-top: 10px;
}
.medical-facility-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}
@media (max-width:767px) {
    .question{
        font-size: 18px;
    }
    .dropdownSub{
        padding: 16px 15px 25px;
    }
    .question{
        padding: 15px 55px 15px 15px;
    }
    .dropdownSub:before{
        width: calc(100% - 30px);
        left: 15px;
    }
    .medical-facility-list li {
        font-size: 14px;
    }
    .contact-list > div{
        display: flex;
        gap:0 30px;
    }
}

/*----- Contact-----*/
.contact-box{
    background: var(--c-main);
}
.contact-list{
    display: flex;
    justify-content: center;
    gap:20px 60px;
    flex-wrap: wrap;
}
.contact-list > div{
    text-align: center;
    margin: 0;
}
.contact-list a:hover img{
    transform: scale(1.1);
    transition: all ease 0.2s;
}
.contact-txt {
    margin-top: 10px;
    color: #333;
}
.contact-txt span{
    font-size: 20px;
    font-weight: 500;
}
@media (max-width: 767px) {
    .contact-list > div{
        width: 100%;
    }
    .contact-list > div > a{
        display: flex;
        gap: 0 20px;
        align-items: center;
    }
    .contact-list > div > a img,
    .contact-list > div > a p{
        margin: 0;
        text-align: left;
    }
}

/*----- Modal -----*/
.modal-header {
    width: 100%;
    text-align: center;
    position: relative;
}
.modal-header .close {
    position: absolute;
    right:1rem;
    top:1rem;
}

/*-------- Errors ---------*/
.error-message {
    font-size: 13px;
    color: #d9534f;
}
.input-error {
    border: 1px solid #dc3545 !important;
}
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #28a745; /* Green or theme color */
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*--------- fix bugs -----------*/
#btn-submit {
    border: none !important;
}
html {
    scroll-behavior: smooth;
}
.txt-mb.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.txt-mb.expanded {
    display: block;
}
.backTop {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 999;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}
.backTop.show {
    opacity: 1;
    pointer-events: auto;
}
.backTop svg {
    display: block;
    width: 40px;
    height: 40px;
}