/* style/faq.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #DC143C; /* Crimson Red */
    --dark-bg: #1A1A1A;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --gray-light: #f4f4f4;
    --gray-medium: #e0e0e0;
}

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

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

/* Hero Section */
.page-faq-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--primary-color);
}

.page-faq-hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.page-faq-hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

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

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

/* Sections */
.page-faq-section {
    padding: 60px 0;
    background-color: var(--gray-light);
    border-bottom: 1px solid var(--gray-medium);
}

.page-faq-section:last-of-type {
    border-bottom: none;
}

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

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

/* FAQ Items */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: var(--text-dark);
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
    color: var(--text-dark);
}

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

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

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px;
    border-top: 1px solid var(--gray-medium);
}

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Call to Action Section */
.page-faq-cta-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

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

.page-faq-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.85);
}

.page-faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq-cta-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq-cta-btn.primary-btn {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

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

.page-faq-cta-btn.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

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

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

@media (max-width: 768px) {
    .page-faq-hero {
        padding: 60px 15px;
    }
    .page-faq-hero-title {
        font-size: 2.2em;
    }
    .page-faq-hero-description {
        font-size: 1em;
    }
    .page-faq-hero-cta {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-faq-section {
        padding: 40px 0;
    }
    .page-faq-section-title {
        font-size: 1.8em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 12px 20px;
    }
    .faq-answer p {
        font-size: 0.95em;
    }
    .page-faq-cta-section {
        padding: 60px 15px;
    }
    .page-faq-cta-title {
        font-size: 2em;
    }
    .page-faq-cta-description {
        font-size: 1em;
    }
    .page-faq-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq-cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-faq-hero-title {
        font-size: 1.8em;
    }
    .page-faq-section-title {
        font-size: 1.5em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .page-faq-cta-title {
        font-size: 1.8em;
    }
}