/* === FAQ.HTML SPECIFIC STYLES === */
/* FAQ page styles */

/* FAQ Page Layout */
.faq-page {
    padding-top: 100px; /* Account for fixed header */
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* FAQ Header */
.faq-header {
    background: linear-gradient(135deg, #914ac8 0%, #f2758b 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.faq-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Content */
.faq-content {
    padding: 80px 0;
}

.faq-intro {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.faq-intro h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.faq-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* FAQ Categories */
.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.faq-category {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #914ac8, #f2758b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

/* FAQ Items */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: linear-gradient(45deg, #914ac8, #f2758b);
    color: white;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    display: none;
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Internal Links in FAQ Answers */
.faq-answer .internal-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-answer .internal-link:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #914ac8 0%, #f2758b 100%);
    color: white;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    margin: 60px 0;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    background: white;
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Search FAQ */
.faq-search {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.search-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2rem;
}

/* Popular Questions */
.popular-questions {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.popular-title {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.popular-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.popular-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.popular-item:hover {
    background: linear-gradient(45deg, #914ac8, #f2758b);
    color: white;
    transform: translateY(-3px);
}

.popular-item h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

/* Quick Links Section */
.quick-links {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.quick-links-title {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-link-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background: linear-gradient(45deg, #914ac8, #f2758b);
    color: white;
    transform: translateY(-3px);
}

.quick-link-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.quick-link-item:hover .quick-link-icon {
    color: white;
}

.quick-link-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: inherit;
}

.quick-link-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2.5rem;
    }
    
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .popular-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .contact-buttons {
        flex-direction: column;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 25px 20px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-header {
        padding: 60px 0 40px;
    }
    
    .faq-content {
        padding: 60px 0;
    }
    
    .faq-intro,
    .faq-category,
    .faq-search,
    .popular-questions,
    .quick-links {
        padding: 30px 20px;
    }
    
    .contact-cta {
        padding: 40px 25px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 20px 18px;
        font-size: 0.95rem;
    }
}
