.faq-section {
    padding: 60px 0;
    background-color: #fcfcfc;
    overflow: visible !important;
}

.faq-filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
    position: relative;
    z-index: 1010;
}

.faq-custom-dropdown {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 0 15px;
    z-index: 1020;
}

.container.mid-content, .bunch {
    overflow: visible !important;
}

.faq-dropdown-trigger {
    width: 100%;
    height: 50px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #444445;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.faq-dropdown-trigger:hover, .faq-custom-dropdown.open .faq-dropdown-trigger {
    border-color: #ef1b27;
    box-shadow: 0 4px 15px rgba(239, 27, 39, 0.1);
    color: #ef1b27;
}

.faq-dropdown-arrow {
    font-size: 12px;
    color: #777777;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-dropdown-trigger:hover .faq-dropdown-arrow, .faq-custom-dropdown.open .faq-dropdown-arrow {
    color: #ef1b27;
}

.faq-custom-dropdown.open .faq-dropdown-arrow {
    transform: rotate(180deg);
}

.faq-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 15px;
    right: 15px;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-custom-dropdown.open .faq-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

.faq-dropdown-item {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #555556;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-align: left;
}

.faq-dropdown-item:hover {
    background-color: #fcfcfc;
    color: #ef1b27;
    border-left-color: #ef1b27;
}

.faq-dropdown-item.active {
    background-color: #fdf2f2;
    color: #ef1b27;
    font-weight: 600;
    border-left-color: #ef1b27;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-group {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.faq-category-group.active {
    display: block;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-color: #ef1b27;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.faq-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.5;
    padding-right: 15px;
}

.faq-icon {
    font-size: 14px;
    color: #777777;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: #ef1b27;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fafafa;
    border-top: 1px solid transparent;
}

.faq-item.open .faq-answer {
    border-top: 1px solid #f0f0f0;
}

.faq-answer-content {
    padding: 20px 24px;
    font-size: 15px;
    color: #666666;
    line-height: 1.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
