/* style/faq.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #0A2463; /* Dark Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #0A2463;
    --accent-color: #DC3545; /* Red for emphasis */
}

.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

.page-faq .hero-section {
    background: linear-gradient(135deg, var(--secondary-color), #1a3a7a);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid var(--primary-color);
}

.page-faq .hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq .hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-faq .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq .cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq .faq-content-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-faq .section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq .section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-faq .faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-faq .faq-question:hover {
    background: #f5f5f5;
}

.page-faq .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
    font-weight: 600;
}

.page-faq .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-faq .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.page-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-faq .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

.page-faq .faq-answer p {
    margin-bottom: 10px;
}

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

.page-faq .faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-faq .faq-answer a:hover {
    color: var(--primary-color);
}

.page-faq .app-download-button, 
.page-faq .contact-button, 
.page-faq .promo-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq .app-download-button:hover,
.page-faq .contact-button:hover,
.page-faq .promo-button:hover {
    background-color: #1a3a7a;
}

.page-faq .cta-bottom-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 60px 20px;
    border-top: 5px solid var(--primary-color);
}

.page-faq .cta-bottom-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-faq .cta-bottom-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-faq .cta-button.primary {
    background: var(--primary-color);
    color: var(--secondary-color);
    margin-right: 15px;
}

.page-faq .cta-button.primary:hover {
    background: #e6c200;
}

.page-faq .cta-button.secondary {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.page-faq .cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq .hero-title {
        font-size: 2.8em;
    }
    .page-faq .hero-subtitle {
        font-size: 1.1em;
    }
    .page-faq .section-title {
        font-size: 2em;
    }
    .page-faq .cta-bottom-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-faq .hero-section {
        padding: 60px 15px;
    }
    .page-faq .hero-title {
        font-size: 2.2em;
    }
    .page-faq .hero-subtitle {
        font-size: 1em;
    }
    .page-faq .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-faq .faq-content-section {
        padding: 40px 0;
    }
    .page-faq .section-title {
        font-size: 1.8em;
    }
    .page-faq .section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-faq .faq-question {
        padding: 15px 20px;
    }
    .page-faq .faq-question h3 {
        font-size: 1.1em;
    }
    .page-faq .faq-answer {
        padding: 0 20px;
    }
    .page-faq .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-faq .cta-bottom-section {
        padding: 40px 15px;
    }
    .page-faq .cta-bottom-title {
        font-size: 2em;
    }
    .page-faq .cta-bottom-description {
        font-size: 1em;
    }
    .page-faq .cta-button.primary, 
    .page-faq .cta-button.secondary {
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-faq .hero-title {
        font-size: 1.8em;
    }
    .page-faq .hero-subtitle {
        font-size: 0.9em;
    }
    .page-faq .section-title {
        font-size: 1.6em;
    }
    .page-faq .faq-question h3 {
        font-size: 1em;
    }
    .page-faq .cta-bottom-title {
        font-size: 1.8em;
    }
    .page-faq .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}