
/* Ẩn phần mô tả đầy đủ ban đầu */
.section-faq-service #accordion.collapsed-faq {
    
    max-height: 320px; 
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out; 
    opacity: 1;
    padding-top: 0;
    margin-top: 0;
}


a#toggleButtonFAQ {
    text-align: center;
    display: block;
    width: 100%;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    background: var(--color-main);
    width: fit-content;
    margin: 15px auto;
    padding: 10px 20px;
    border-radius: 20px;
}

/* -------------------------------------- */
/* CSS for the Collapsed State (Default)  */
/* -------------------------------------- */
/* Apply this to the element you want to collapse (the #accordion container) */
.section-faq-service #accordion.collapsed-faq {
    /* Set a small, fixed height for the collapsed state */
    max-height: 320px; /* Example: Show only the first few items */
    overflow: hidden; /* Hide the content that exceeds the max-height */
}

/* -------------------------------------- */
/* CSS for the Expanded State             */
/* -------------------------------------- */
.section-faq-service #accordion.expanded-faq {
    /* Set a very large max-height to display all content */
    max-height: 2000px; /* Must be larger than the content's actual height */
}

/* -------------------------------------- */
/* CSS for Smooth Animation (Recommended) */
/* -------------------------------------- */
.section-faq-service #accordion {
    /* Add a transition to the max-height property for a smooth opening/closing effect */
    transition: max-height 0.5s ease-in-out;
}
@media(max-width: 768px){
    #short-description h2, #short-description h2 span, #short-description h3, #short-description h3 span {
        line-height: 25px !important;
        font-size: 1.3rem !important;
    }

    section#short-description {
        margin-top: 20px;
    }
}