/* FAQ Page Specific Styles */

.faq-hero {
    background: linear-gradient(135deg, var(--dark-shade) 0%, var(--dark-accent) 100%);
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
}

.faq-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.faq-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.faq-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-intro {
    text-align: center;
    margin-bottom: 60px;
}

.faq-intro h2 {
    font-size: 2rem;
    color: var(--main-brand-color);
    margin-bottom: 15px;
}

.faq-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.category-filter {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--dark-shade);
    color: var(--dark-shade);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.category-filter:hover,
.category-filter.active {
    background: var(--dark-shade);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 94, 234, 0.3);
}

.faq-section {
    margin-bottom: 50px;
}

.faq-section-title {
    font-size: 1.8rem;
    color: var(--dark-shade);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--dark-accent);
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-section-title i {
    font-size: 1.5rem;
    color: var(--dark-accent);
}

.faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--dark-accent);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

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

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--main-brand-color);
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--dark-shade);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--dark-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f8f9fa;
}

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

.faq-answer p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.faq-answer ul {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--dark-shade);
}

.faq-answer a {
    color: var(--dark-shade);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--dark-accent);
}

.faq-cta {
    background: linear-gradient(135deg, var(--dark-shade) 0%, var(--dark-accent) 100%);
    color: white;
    padding: 60px 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 80px;
}

.faq-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.faq-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--dark-shade);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.search-box {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--dark-shade);
    box-shadow: 0 4px 15px rgba(1, 94, 234, 0.1);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Disable AOS animations on mobile for better performance */
    [data-aos] {
        pointer-events: auto !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

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

    .faq-hero p {
        font-size: 1rem;
    }

    .faq-section-title {
        font-size: 1.4rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .category-filter {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    /* Simplify accordion transitions on mobile */
    .faq-answer {
        transition: max-height 0.25s ease, padding 0.25s ease;
    }

    .faq-icon {
        transition: transform 0.2s ease;
    }

    .faq-item {
        transition: none;
    }
}
