/* FAQ Page Styles */
/* FAQ Content Wrapper */
.faq-content-wrapper {
    background: #f8f9fa;
    border-radius: 20px;
    margin-top: 2rem;
    padding: 1rem;
}

/* FAQ Content Styles */
.faq-content {
    padding: 2rem 0;
}

.faq-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.faq-section-header {
    background: linear-gradient(135deg, #800020 0%, #600018 100%);
    color: white;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2c2c;
    min-height: 48px;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question:focus {
    outline: 2px solid #4caf50;
    outline-offset: -2px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border: 2px solid #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    background: #4caf50;
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fafafa;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

.faq-answer-content {
    color: #495057;
    line-height: 1.6;
}

.faq-answer-content strong {
    color: #2c2c2c;
    font-weight: 600;
}

/* Contact CTA */
.faq-contact-cta {
    background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 2rem;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-contact {
    background: linear-gradient(135deg, #43a047 0%, #388e3c 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-height: 48px;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .faq-hero {
        padding: 3rem 0 2rem 0;
    }
    
    .faq-content {
        padding: 2rem 0;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .faq-section-header {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
    }
    
    .faq-contact-cta {
        padding: 2rem 0;
    }
    
    .faq-toggle {
        width: 20px;
        height: 20px;
        font-size: 1rem;
        margin-left: 0.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .faq-answer,
    .faq-toggle,
    .btn-contact {
        transition: none;
    }
}

/* High contrast mode support - using forced-colors instead */
@media (forced-colors: active) {
    .faq-question {
        border: 2px solid ButtonText;
    }
    
    .faq-toggle {
        border-width: 3px;
        border-color: ButtonText;
    }
}

/* Touch device improvements */
@media (pointer: coarse) {
    .faq-question {
        min-height: 56px;
        padding: 1.25rem 2rem 1.25rem 1.5rem;
    }
    
    .faq-toggle {
        width: 28px;
        height: 28px;
        margin-left: 1rem;
    }
}
