/* FAQ Hero Section */
.faq-hero {
    padding: 100px 0 80px;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.faq-hero::before,
.faq-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(201, 165, 92, 0.1);
    z-index: 1;
}

.faq-hero::before {
    top: -100px;
    left: -100px;
}

.faq-hero::after {
    bottom: -100px;
    right: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: #1B365D;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content .underline {
    width: 80px;
    height: 4px;
    background: #C9A55C;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.hero-content p {
    color: #4A4A4A;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Search Box Styles */
.faq-search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 4px 25px rgba(27, 54, 93, 0.15);
}

.search-icon {
    color: #1B365D;
    font-size: 1.2rem;
    margin-right: 15px;
}

.faq-search-input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 1.1rem;
    color: #1B365D;
    background: transparent;
}

.faq-search-input::placeholder {
    color: #8894a7;
}

.faq-search-input:focus {
    outline: none;
}

/* RTL Support */
[dir="rtl"] .search-icon {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .faq-hero::before {
    left: auto;
    right: -100px;
}

[dir="rtl"] .faq-hero::after {
    right: auto;
    left: -100px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .faq-hero {
        padding: 80px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .faq-search-container {
        margin: 0 20px;
    }

    .search-box {
        padding: 6px 15px;
    }

    .faq-search-input {
        padding: 10px 0;
        font-size: 1rem;
    }
}

/* Search Highlight */
.highlight {
    background-color: rgba(201, 165, 92, 0.2);
    padding: 2px 0;
    border-radius: 2px;
}

/* No Results Message */
.no-results {
    padding: 40px 20px;
    text-align: center;
}

.no-results p {
    color: #4A4A4A;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.no-results .suggestion {
    color: #8894a7;
    font-size: 1rem;
}

/* FAQ Content Section */
.faq-content {
    padding: 60px 0;
    background: white;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    background: transparent;
    color: #4A4A4A;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #1B365D;
    color: #1B365D;
}

.tab-btn.active {
    background: #1B365D;
    color: white;
    border-color: #1B365D;
}

/* FAQ List */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    color: #1B365D;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    padding-right: 40px;
}

.toggle-btn {
    background: none;
    border: none;
    color: #C9A55C;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-btn {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 1000px;
}

.faq-answer p {
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-answer ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    color: #4A4A4A;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* RTL Support for FAQ Content */
[dir="rtl"] .faq-question h3 {
    padding-right: 0;
    padding-left: 40px;
}

[dir="rtl"] .faq-answer ul {
    padding-left: 0;
    padding-right: 20px;
}

/* Responsive Styles for FAQ Content */
@media (max-width: 768px) {
    .faq-content {
        padding: 40px 0;
    }

    .category-tabs {
        padding: 0 20px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .faq-list {
        margin: 0 20px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 30px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }

    [dir="rtl"] .faq-question h3 {
        padding-right: 0;
        padding-left: 30px;
    }
}

/* Support Table Styles */
.support-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.support-table th,
.support-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.support-table th {
    background-color: #1B365D;
    color: white;
    font-weight: 500;
}

.support-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.support-table td:first-child {
    font-weight: 500;
    color: #1B365D;
}

/* RTL Support for Table */
[dir="rtl"] .support-table th,
[dir="rtl"] .support-table td {
    text-align: right;
}

/* Responsive Table */
@media (max-width: 768px) {
    .support-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .support-table th,
    .support-table td {
        white-space: nowrap;
        padding: 10px 12px;
    }
}

/* Additional Resources Section */
.resources-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.resource-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: rgba(201, 165, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.resource-icon i {
    font-size: 28px;
    color: #C9A55C;
}

.resource-card h3 {
    color: #1B365D;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.resource-card p {
    color: #4A4A4A;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.resource-link {
    color: #C9A55C;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: #1B365D;
}

.resource-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.resource-link:hover i {
    transform: translateX(5px);
}

/* RTL Support for Resources */
[dir="rtl"] .resource-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .resource-link:hover i {
    transform: translateX(-5px);
}

/* Responsive Styles for Resources */
@media (max-width: 992px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .resources-section {
        padding: 60px 0;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .resource-card {
        padding: 30px 20px;
    }

    .resource-icon {
        width: 60px;
        height: 60px;
    }

    .resource-icon i {
        font-size: 24px;
    }

    .resource-card h3 {
        font-size: 1.2rem;
    }
} 