/* FAQ Page - Minimal Clean Design */

/* Header */
.faq-header {
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.faq-header h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-header .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Search Box */
.faq-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    background: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.search-wrapper i {
    color: #f67280;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.search-wrapper input {
    border: none;
    background: none;
    padding: 1rem 0;
    width: 100%;
    font-size: 1.1rem;
    color: #2c3e50;
}

.search-wrapper input:focus {
    outline: none;
}

/* Content Wrapper */
.faq-wrapper {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Categories Sidebar */
.faq-categories {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.faq-categories h5 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    color: #6c757d;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
}

.category-item i {
    font-size: 1.1rem;
    margin-right: 0.8rem;
    color: #f67280;
    min-width: 20px;
}

.category-item:hover {
    background: #f8f9fa;
    color: #2c3e50;
    transform: translateX(5px);
}

.category-item.active {
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    color: white;
    font-weight: 600;
}

.category-item.active i {
    color: white;
}

/* FAQ Sections */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #f67280;
}

/* Accordion - Clean Minimal Style */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: #f67280;
    box-shadow: 0 4px 15px rgba(246, 114, 128, 0.1);
}

.accordion-button {
    padding: 1.5rem 1.8rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    background: white;
    border: none;
    text-align: right;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-button::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f67280;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    order: -1;
}

.accordion-button:not(.collapsed) {
    color: #f67280;
    background: #fff5f6;
}

.accordion-button:not(.collapsed)::before {
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f67280'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
    margin-right: auto;
    margin-left: 0;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1.5rem 1.8rem 1.8rem 1.8rem;
    color: #495057;
    line-height: 1.8;
    font-size: 1.05rem;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.accordion-body::before {
    content: "A";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #355c7d;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.feature-list li {
    padding: 0.6rem 0;
    padding-right: 2rem;
    position: relative;
    color: #495057;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #f67280;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.faq-contact {
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    padding: 80px 0;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h3 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-card .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #f67280 0%, #c06c84 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 114, 128, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .faq-categories {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .faq-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .faq-header {
        padding: 100px 0 60px;
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .accordion-button {
        padding: 1.2rem 1.5rem;
        font-size: 1.05rem;
    }

    .accordion-body {
        padding: 1.2rem 1.5rem;
    }

    .search-wrapper {
        margin: 0 1rem;
    }

    .contact-card {
        margin: 0 1rem;
        padding: 2rem;
    }
}

[dir="rtl"] .search-wrapper i {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .category-item i {
    margin-right: 0;
    margin-left: 0.8rem;
}

[dir="rtl"] .accordion-button::before {
    order: 1;
}

[dir="rtl"] .accordion-button::after {
    order: -1;
}

[dir="rtl"] .feature-list li {
    padding-right: 0;
    padding-left: 2rem;
}

[dir="rtl"] .feature-list li::before {
    right: auto;
    left: 0;
}

[dir="rtl"] .faq-section h2 {
    padding-left: 0;
    padding-right: 1rem;
    border-left: none;
    border-right: 4px solid #f67280;
}
