/* FAQ Page Styles */
.faq-section {
    width: 100%;
    padding: 5% 12%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 100vh;
    background-color: var(--body-color);
}

.faq-section .bg_shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-color);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.faq-container {
    width: 100%;
    max-width: 1200px;
    z-index: 1;
}

.faq-section .Headings {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-section .Headings h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--prim-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faq-section .Headings h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 1rem;
    font-family: var(--Conthrax-bold);
}

.faq-section .Headings p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Accordion Styles */
.faq-accordion {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--light-border);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--prim-color);
    box-shadow: 0 5px 20px rgba(92, 39, 255, 0.2);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-question:hover {
    background: rgba(92, 39, 255, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-color);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--prim-color);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
}

/* Active state styling */
.faq-item.active {
    border-color: var(--prim-color);
    box-shadow: 0 8px 25px rgba(92, 39, 255, 0.3);
}

.faq-item.active .faq-question {
    background: rgba(92, 39, 255, 0.15);
}

.faq-item.active .faq-question h3 {
    color: var(--prim-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .faq-section {
        padding: 5% 8%;
    }
    
    .faq-section .Headings h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .faq-section {
        padding: 5% 5%;
    }
    
    .faq-section .Headings h1 {
        font-size: 2rem;
    }
    
    .faq-section .Headings h2 {
        font-size: 1rem;
    }
    
    .faq-section .Headings p {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .faq-section {
        padding: 5% 3%;
    }
    
    .faq-section .Headings h1 {
        font-size: 1.8rem;
    }
    
    .faq-section .Headings h2 {
        font-size: 0.9rem;
    }
    
    .faq-section .Headings p {
        font-size: 0.9rem;
    }
    
    .faq-question {
        padding: 1rem 1.2rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 1.2rem 1rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .faq-question i {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .faq-section .Headings h1 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 0.8rem 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 0.8rem 1rem;
        font-size: 0.85rem;
    }
}

/* Animation for smooth transitions */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer {
    animation: slideDown 0.3s ease forwards;
}

/* Hover effects */
.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question:hover h3 {
    color: var(--prim-color);
}

.faq-question:hover i {
    transform: scale(1.1);
}

/* Focus states for accessibility */
.faq-question:focus {
    outline: 2px solid var(--prim-color);
    outline-offset: 2px;
}

/* Custom scrollbar for FAQ answers */
.faq-answer::-webkit-scrollbar {
    width: 4px;
}

.faq-answer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.faq-answer::-webkit-scrollbar-thumb {
    background: var(--prim-color);
    border-radius: 2px;
}

.faq-answer::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-color);
} 