/* style/faq.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #222222;
    --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 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Hero Banner Section */
.page-faq__hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 0.9;
}

.page-faq__hero-description a {
    color: var(--primary-color);
    font-weight: bold;
}

.page-faq__hero-description a:hover {
    color: var(--text-light);
}

.page-faq__cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button: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__hero-image-wrapper {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Content Section */
.page-faq__content-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-faq__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-faq__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

.page-faq__section-intro a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* FAQ List */
.page-faq__faq-list {
    display: grid;
    gap: 20px;
}

.page-faq .faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: var(--text-dark);
}

.page-faq .faq-question:hover {
    background: #f8f8f8;
    color: var(--secondary-color);
}

.page-faq .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: inherit; /* Inherit color from parent for hover effect */
}

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

.page-faq .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-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: #fcfcfc;
    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 var(--border-color);
}

.page-faq .faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.8;
}

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

.page-faq__closing-statement {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 60px auto 0 auto;
    color: var(--text-dark);
    padding-top: 30px;
    border-top: 1px dashed var(--border-color);
}

.page-faq__closing-statement a {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: 3em;
    }
    .page-faq__hero-description {
        font-size: 1.1em;
    }
    .page-faq__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-banner {
        padding: 60px 15px;
    }
    .page-faq__main-title {
        font-size: 2.5em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__section-intro,
    .page-faq__closing-statement {
        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-toggle {
        font-size: 1.5em;
    }
    .page-faq .faq-answer {
        padding: 0 20px;
    }
    .page-faq .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-faq__main-title {
        font-size: 2em;
    }
    .page-faq__hero-description {
        font-size: 0.9em;
    }
    .page-faq__section-title {
        font-size: 1.6em;
    }
    .page-faq__section-intro,
    .page-faq__closing-statement {
        font-size: 0.9em;
    }
    .page-faq .faq-question h3 {
        font-size: 1em;
    }
    .page-faq .faq-toggle {
        font-size: 1.2em;
    }
    .page-faq__hero-image-wrapper {
        margin-top: 20px;
    }
    .page-faq__closing-statement {
        margin-top: 40px auto 0 auto;
    }
}