/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #E0B34C; /* Light text for dark background */
    background-color: #0A2E36; /* Primary dark background */
}

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

.page-faq__hero {
    background: linear-gradient(135deg, #0A2E36 0%, #0A2E36 50%, #1f4cb3 100%); /* Slightly lighter variant for gradient effect */
    padding: 80px 0 60px;
    text-align: center;
    color: #E0B34C;
    position: relative;
    overflow: hidden;
}

.page-faq__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric_lines]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-faq__hero .page-faq__container {
    position: relative;
    z-index: 1;
}

.page-faq__title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #E0B34C;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__subtitle {
    font-size: 1.4em;
    color: #f0e68c; /* Slightly muted gold for subtitle */
    max-width: 800px;
    margin: 0 auto;
}

.page-faq__intro {
    background-color: #0A2E36;
    padding: 40px 0;
    color: #E0B34C;
    border-bottom: 1px solid rgba(224, 179, 76, 0.2);
}

.page-faq__intro p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-faq__intro strong {
    color: #f0e68c;
}

.page-faq__accordion {
    padding: 60px 0;
    background-color: #0A2E36;
}

.page-faq__category {
    margin-bottom: 50px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #1a3c42; /* Slightly lighter dark blue/green for category background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__category-title {
    font-size: 2.2em;
    color: #E0B34C;
    background-color: #0A2E36;
    padding: 25px 30px;
    margin: 0;
    border-bottom: 2px solid #E0B34C;
    text-align: center;
    font-weight: bold;
}

.page-faq__item {
    border-bottom: 1px solid rgba(224, 179, 76, 0.2);
}

.page-faq__item:last-child {
    border-bottom: none;
}

.page-faq__question {
    font-size: 1.3em;
    color: #E0B34C;
    padding: 20px 30px;
    margin: 0;
    cursor: pointer;
    background-color: #1a3c42;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-faq__question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: #E0B34C;
    transition: transform 0.3s ease;
}

.page-faq__question.active {
    background-color: #2c5a61; /* Even lighter dark blue/green when active */
    color: #f0e68c;
}

.page-faq__question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-faq__answer {
    background-color: #2c5a61; /* Lighter background for answer content */
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #f0e68c;
}

.page-faq__answer.active {
    max-height: 1000px; /* Adjust as needed for content length */
    padding: 20px 30px;
}

.page-faq__answer p {
    margin-bottom: 15px;
}

.page-faq__answer ul,
.page-faq__answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
    list-style-position: inside;
}

.page-faq__answer li {
    margin-bottom: 8px;
}

.page-faq__answer a {
    color: #E0B34C;
    text-decoration: underline;
}

.page-faq__answer a:hover {
    color: #f0e68c;
}

.page-faq__link-btn {
    display: inline-block;
    background-color: #E0B34C;
    color: #0A2E36;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__link-btn:hover {
    background-color: #f0e68c;
    color: #0A2E36;
}

.page-faq__cta-section {
    background-color: #0A2E36;
    padding: 80px 0;
    text-align: center;
}

.page-faq__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: #1a3c42;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.page-faq__cta-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    order: -1; /* Place image before text on mobile */
}

.page-faq__cta-text {
    max-width: 700px;
    color: #E0B34C;
}

.page-faq__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #E0B34C;
    font-weight: bold;
    line-height: 1.2;
}

.page-faq__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0e68c;
}

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

.page-faq__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__btn--primary {
    background-color: #E0B34C;
    color: #0A2E36;
    border: 2px solid #E0B34C;
}

.page-faq__btn--primary:hover {
    background-color: #f0e68c;
    border-color: #f0e68c;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__btn--secondary {
    background-color: transparent;
    color: #E0B34C;
    border: 2px solid #E0B34C;
}

.page-faq__btn--secondary:hover {
    background-color: #E0B34C;
    color: #0A2E36;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-faq__cta-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .page-faq__cta-text {
        text-align: left;
    }

    .page-faq__cta-image {
        order: 1;
        max-width: 400px;
    }

    .page-faq__cta-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .page-faq__title {
        font-size: 2.5em;
    }

    .page-faq__subtitle {
        font-size: 1.1em;
    }

    .page-faq__category-title {
        font-size: 1.8em;
        padding: 20px;
    }

    .page-faq__question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-faq__answer {
        padding: 0 20px;
    }

    .page-faq__answer.active {
        padding: 15px 20px;
    }

    .page-faq__cta-title {
        font-size: 2em;
    }

    .page-faq__cta-description {
        font-size: 1em;
    }

    .page-faq__btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 1em;
    }
}