/* test.css */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ff008b;
}

section {
    padding: 60px;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

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

.faq {
    padding:0px;
    background-color: transparent;
    min-height: 500px;
}

.faq .section-title {
    margin-bottom: 54px;
}

.faq .section-title h2 {
    margin-bottom: 22px;
}

.faq .accordion .card {
    border: 1px solid #783952;
    margin-bottom: 20px;
    width: 100%;
    /* Ensure card width is 70% */
    margin-left: auto;
    /* Center the card */
    margin-right: auto;
    /* Center the card */
    border-radius: 5px;
    background-color: #ffffffee;
    /* backdrop-filter: blur(10px); */
}

.faq .accordion .card:not(:first-of-type) .card-header:first-child {
    border-radius: 10px;
}

.faq .accordion .card .card-header {
    border: none;
    border-radius: 10px;
    padding: 0;
    font-family: "Noto Serif TC", serif;
    /* Apply Google Font */
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.faq .accordion .card .card-header h5 {
    padding: 0;
}

.faq .accordion .card .card-header h5 button {
    font-size: 18px;
    /* Default font size for desktop */
    font-weight: 500;
    text-decoration: none;
    padding: 0 30px 0 30px;
    display: flex;
    /* Change to flex to align icon */
    justify-content: space-between;
    /* Align items */
    align-items: center;
    /* Center items vertically */
    width: 100%;
    color: #783952;
    text-align: left;
    background-color: #ffffff00;
    /* background: #ffffff; */
    /* filter: blur(10px); */
    /* opacity: 0.1; */
    -webkit-box-shadow: 0px -50px 140px 0px rgba(69, 81, 100, 0.1);
    box-shadow: 0px -50px 140px 0px rgba(69, 81, 100, 0.1);
    border-radius: 10px 10px 0 0;
    position: relative;
}

.faq .accordion .card .card-header h5 button:after {
    display: none;
    /* Hide original icon */
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    font-size: 24px;
    transition: transform 0.3s;
    /* Add transition for smooth animation */
    transform: rotate(0deg);
    /* Rotate the icon initially */
}

.faq .accordion .card .card-header h5 button[aria-expanded="true"] .material-symbols-outlined {
    transform: rotate(180deg);
    /* Rotate the icon back when the button is expanded */
}

.faq .accordion .card .card-body {
    -webkit-box-shadow: 0px 15px 140px 0px rgba(69, 81, 100, 0.1);
    box-shadow: 0px 15px 140px 0px rgba(69, 81, 100, 0.1);
    border-radius: 0 0 10px 10px;
    padding-top: 0;
    margin-top: -6px;
    /* padding-left: 1000px; */
    padding-right: 40px;
    padding-bottom: 15px;
    color: #371824;
    line-height: 30px;
    font-family: "Noto Serif TC", serif;
    /* Apply Google Font */
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0.05em;
    font-size: 15px;
    /* Default font size for desktop */
}

/* Media queries for different screen sizes */
@media (max-width: 1024px) {
    .faq .accordion .card .card-header h5 button {
        font-size: 16px;
        height: 70px;
        /* Font size for tablets */
    }

    .faq .accordion .card .card-body {
        font-size: 14px;
        padding-left: 30px;
        /* Font size for tablets */
        /* margin-left: -20px; */
    }
}

@media (max-width: 500px) {
    .faq .accordion .card .card-header h5 button {
        font-size: 11.5px;
        /* Font size for mobile */
        padding: 0 10px 0 10px;
        height: 40px;
    }

    .faq .accordion .card .card-body {
        font-size: 11px;
        line-height: 20px;
        /* Font size for mobile */
        padding-left: 10px;
    }
}
body{
    background-color: transparent;

}
