/* FAQ Page Styles - Dedicated CSS */

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.faq-category {
    margin-bottom: 48px;
}

.faq-category-title {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #CC0633;
    text-align: center;
}

.faq-item {
    background: #f5f5f7;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #ebebed;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    font-size: 17px;
    font-weight: 500;
    color: #1d1d1f;
    flex: 1;
    line-height: 1.4;
}

.faq-question-icon {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #1d1d1f;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.faq-item.active .faq-question-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 24px 24px;
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

.faq-answer-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-answer-content li {
    margin: 8px 0;
}

.faq-answer-content a {
    color: #CC0633;
    text-decoration: none;
}

.faq-answer-content a:hover {
    text-decoration: underline;
}

/* FAQ Navigation */
.faq-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.faq-nav-link,
.faq-nav-link:link,
.faq-nav-link:visited,
.faq-nav-link:active,
.faq-nav-link:focus {
    display: inline-block;
    padding: 12px 24px;
    background: #CC0633;
    border: none;
    border-radius: 980px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.faq-nav-link:hover {
    background: #b0052c;
    transform: scale(1.02);
    color: #ffffff !important;
}

#toggleAllBtn {
    background: #CC0633;
    color: #ffffff;
    border: none;
    border-radius: 980px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#toggleAllBtn:hover {
    background: #b0052c;
    transform: scale(1.02);
}

/* Toggle All Button Container */
.faq-toggle-all {
    text-align: right;
    margin-bottom: 24px;
}

/* Responsive - Tablet */
@media (max-width: 1068px) {
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-category-title {
        font-size: 26px;
    }
}

/* Responsive - Mobile */
@media (max-width: 735px) {
    .faq-section {
        padding: 40px 16px;
    }
    
    .faq-toggle-all {
        margin-bottom: 16px;
    }
    
    .faq-category {
        margin-bottom: 32px;
    }
    
    .faq-category-title {
        font-size: 22px;
        text-align: center;
        border-bottom: 2px solid #CC0633;
        padding-bottom: 12px;
    }
    
    .faq-item {
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .faq-question {
        padding: 16px 18px;
    }
    
    .faq-question span {
        font-size: 15px;
    }
    
    .faq-question-icon {
        width: 20px;
        height: 20px;
        margin-left: 12px;
    }
    
    .faq-answer-content {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }
    
    .faq-nav {
        gap: 8px;
    }
    
    .faq-nav-link,
    .faq-nav-link:link,
    .faq-nav-link:visited,
    .faq-nav-link:active,
    .faq-nav-link:hover {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    #toggleAllBtn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .faq-section {
        padding: 32px 12px;
    }
    
    .faq-category-title {
        font-size: 20px;
    }
    
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question span {
        font-size: 14px;
    }
    
    .faq-answer-content {
        padding: 0 16px 16px 16px;
        font-size: 13px;
    }
    
    .faq-nav-link,
    .faq-nav-link:link,
    .faq-nav-link:visited,
    .faq-nav-link:active,
    .faq-nav-link:hover {
        padding: 8px 14px;
        font-size: 12px;
    }
}
