/* style/faq.css */
:root {
    --primary-color: #0A2038;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-medium: #f2f2f2;
    --border-color: #e0e0e0;
}

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

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

.page-faq-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-faq-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq-hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-faq-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-faq-hero h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-faq-hero p {
    font-size: 1.2em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-faq-section {
    padding: 40px 0;
}

.page-faq-intro {
    background-color: var(--bg-medium);
    text-align: center;
    padding: 60px 20px;
}

.page-faq-intro h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-faq-intro p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 15px auto;
}

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

.page-faq-list h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.faq-category {
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-category:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-category h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--secondary-color);
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.faq-question:hover {
    background: var(--bg-medium);
    color: var(--primary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
    flex-grow: 1;
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.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 20px;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

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

.page-faq-conclusion {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-medium);
    border-radius: 8px;
    margin-top: 50px;
}

.page-faq-conclusion p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--text-dark);
}

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

.page-faq-conclusion a:hover {
    color: var(--secondary-color);
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq-hero h1 {
        font-size: 2.2em;
    }
    .page-faq-hero p {
        font-size: 1em;
    }
    .page-faq-list h2 {
        font-size: 2em;
    }
    .faq-category h3 {
        font-size: 1.6em;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-faq-hero {
        padding: 40px 15px;
    }
    .page-faq-hero-image {
        margin-bottom: 20px;
    }
    .page-faq-hero h1 {
        font-size: 1.8em;
    }
    .page-faq-hero p {
        font-size: 0.95em;
    }
    .page-faq-section {
        padding: 30px 0;
    }
    .page-faq-intro {
        padding: 40px 15px;
    }
    .page-faq-intro h2 {
        font-size: 1.8em;
    }
    .page-faq-list h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .faq-category h3 {
        font-size: 1.4em;
    }
    .faq-question {
        padding: 15px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 1.5em;
        margin-left: 10px;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    .page-faq-conclusion {
        padding: 30px 15px;
    }
    .page-faq-conclusion p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq-hero h1 {
        font-size: 1.5em;
    }
    .page-faq-hero p {
        font-size: 0.9em;
    }
    .page-faq-intro h2 {
        font-size: 1.5em;
    }
    .page-faq-list h2 {
        font-size: 1.5em;
    }
    .faq-category h3 {
        font-size: 1.2em;
    }
    .faq-question h3 {
        font-size: 0.95em;
    }
    .faq-toggle {
        font-size: 1.3em;
    }
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}