/* FAQ Page Styles */

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, #2a2a72 0%, #009ffd 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.faq-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.faq-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Content */
.faq-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* FAQ Search */
.faq-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 50px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: #2a2a72;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2rem;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: #e0e0e0;
}

.category-btn.active {
    background-color: #2a2a72;
    color: white;
}

/* FAQ List */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    padding-right: 30px;
}

.faq-question i {
    color: #2a2a72;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 1000px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin-top: 0;
}

.faq-answer ul, .faq-answer ol {
    color: #555;
    line-height: 1.7;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer a {
    color: #2a2a72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Not Found Section */
.faq-not-found {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-not-found h3 {
    color: #333;
    margin-bottom: 15px;
}

.faq-not-found p {
    color: #555;
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2a2a72;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #1a1a52;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 2.5rem;
    }
    
    .faq-hero p {
        font-size: 1.1rem;
    }
    
    .faq-categories {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .category-btn {
        flex-shrink: 0;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 50px 0;
    }
    
    .faq-hero h1 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}
