/* FAQ Section Styling */
.category-faqs-section {
    margin: 60px 0;
    padding: 40px 0;
    background: #f8f9fa;
    counter-reset: faq-counter;
}

.faqs-header {
    text-align: center;
    margin-bottom: 40px;
}

.faqs-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.faqs-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #540da5, #8e44ad);
    border-radius: 2px;
}

.faqs-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    counter-increment: faq-counter;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 8px 25px rgba(84, 13, 165, 0.15);
}

.faq-question {
    padding: 5px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question:focus {
    outline: none;
    background: #f0f0f0;
}

.faq-number {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #540da5, #8e44ad);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(84, 13, 165, 0.3);
}

.faq-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    padding-left: 20px;
    line-height: 1.4;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

.faq-toggle:hover {
    background: #e9ecef;
}

.faq-icon-plus,
.faq-icon-minus {
    font-size: 20px;
    font-weight: bold;
    color: #540da5;
    transition: all 0.3s ease;
}

.faq-icon-plus {
    display: block;
}

.faq-icon-minus {
    display: none;
}

.faq-item.active .faq-icon-plus {
    display: none;
}

.faq-item.active .faq-icon-minus {
    display: block;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.faq-answer-content {
    padding: 10px 30px 25px 30px;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content strong {
    color: #540da5;
    font-weight: 600;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-answer-content h3,
.faq-answer-content h4 {
    color: #333;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.faq-answer-content blockquote {
    border-left: 4px solid #540da5;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.faq-answer-content code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e83e8c;
}

.faq-answer-content pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #e9ecef;
}

.faq-answer-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.faq-answer-content th,
.faq-answer-content td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.faq-answer-content th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.faq-answer-content tr:hover {
    background: #f8f9fa;
}

/* FAQ Animation */
.faq-answer.collapsing {
    transition: height 0.35s ease;
}

.faq-answer.collapse:not(.show) {
    display: none;
}

.faq-answer.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* FAQ Search Functionality */
.faq-search-container {
    margin-bottom: 30px;
    text-align: center;
}

.faq-search-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.faq-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-search-input:focus {
    border-color: #540da5;
    box-shadow: 0 0 0 3px rgba(84, 13, 165, 0.1);
}

.faq-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    pointer-events: none;
}

/* FAQ Item Numbering */
.faq-item {
    counter-increment: faq-counter;
}

.faq-question {
    position: relative;
}

/* .faq-question:before {
    content: counter(faq-counter);
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #540da5, #8e44ad);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(84, 13, 165, 0.3);
} */

.faq-question:before {
    content: "•"; /* Bullet point */
    /* or content: "→"; for arrow */
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #540da5, #8e44ad);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(84, 13, 165, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .faqs-title {
        font-size: 2rem;
    }
    
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-question {
        padding: 20px 60px 20px 20px;
        font-size: 16px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
    
    .faq-number {
        left: -10px;
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .faq-text {
        padding-left: 15px;
        font-size: 16px;
    }
    
    .faq-toggle {
        width: 35px;
        height: 35px;
    }
    
    .faq-icon-plus,
    .faq-icon-minus {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .category-faqs-section {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .faqs-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 18px 50px 18px 18px;
        font-size: 15px;
    }
    
    .faq-answer-content {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }
    
    .faq-number {
        left: -8px;
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .faq-text {
        padding-left: 12px;
        font-size: 15px;
    }
    
    .faq-toggle {
        width: 30px;
        height: 30px;
    }
    
    .faq-icon-plus,
    .faq-icon-minus {
        font-size: 16px;
    }
}

/* FAQ Animation */
.faq-answer {
    transition: max-height 0.35s ease;
}

/* Care list styling */
.care-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.care-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.care-list li:before {
    content: "🧹";
    position: absolute;
    left: 0;
}

.care-list li:last-child {
    border-bottom: none;
} 