/* Variables */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --text-color: #2d3436;
    --light-text: #636e72;
    --background-color: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* FAQ Container */
.faq-container {
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Header Section */
.faq-header {
    text-align: center;
    padding: 40px 20px;
    color: var(--white);
}

.faq-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* FAQ Content */
.faq-content {
    padding: 40px;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(74, 144, 226, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

.faq-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-answer p {
    color: var(--light-text);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .faq-header {
        padding: 30px 15px;
    }
    
    .faq-header h1 {
        font-size: 1.8rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
} 

/* ===== THEME ALIGNMENT ===== */
:root {
    --primary-color: #7E8AE6;
    /* close to --primary */
    --secondary-color: #9FE7DB;
    /* close to --secondary */
    --text-color: #2C2C34;
    --light-text: #61636B;
    --background-color: #F7FAFB;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(17, 24, 39, .08);
    --border-radius: 14px;
    --transition: all .3s ease;
}

.faq-container {
    background: rgba(255, 255, 255, .75);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.faq-header {
    background: linear-gradient(90deg, #F5F4FF, #EAF8F7);
    color: #2C2C34;
}

.faq-question:hover {
    background: rgba(126, 138, 230, .08);
}

.faq-item.active .faq-question {
    background: rgba(159, 231, 219, .12);
}