/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Default text color for dark background */
    background-color: #111a24; /* A slightly darker background than main for contrast */
}

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

/* Hero Section */
.page-faq__hero-section {
    background: linear-gradient(135deg, #1A2C42, #2a415a); /* Main color gradient */
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #E0B147;
}

.page-faq__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,dark,subtle]'); /* Subtle background pattern */
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-faq__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E0B147;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    color: #d0d0d0;
}

/* Buttons */
.page-faq__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.page-faq__btn--primary {
    background-color: #E0B147; /* Accent color */
    color: #1A2C42; /* Dark text for contrast */
}

.page-faq__btn--primary:hover {
    background-color: #f5c45e; /* Lighter accent on hover */
    transform: translateY(-2px);
}

.page-faq__btn--secondary {
    background-color: #1A2C42; /* Main color */
    color: #E0B147; /* Accent text for contrast */
    border: 2px solid #E0B147;
}

.page-faq__btn--secondary:hover {
    background-color: #2a415a; /* Slightly lighter main color on hover */
    transform: translateY(-2px);
}

.page-faq__link-inline {
    color: #E0B147; /* Accent color for inline links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq__link-inline:hover {
    color: #f5c45e;
    text-decoration: underline;
}

/* FAQ Section */
.page-faq__faq-section {
    padding: 80px 0;
    background-color: #1A2C42;
    color: #e0e0e0;
}

.page-faq__section-title {
    font-size: 2.8em;
    color: #E0B147;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E0B147;
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-faq__accordion {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #2a415a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-item {
    border-bottom: 1px solid #2a415a;
}

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

.page-faq__accordion-header {
    background-color: #2a415a;
    color: #E0B147;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #3f5875;
}

.page-faq__accordion-header h3 {
    margin: 0;
    color: #E0B147; /* Ensure heading color is consistent */
}

.page-faq__accordion-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23E0B147' viewBox='0 0 24 24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E"); /* Plus icon */
    background-size: cover;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active .page-faq__accordion-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23E0B147' viewBox='0 0 24 24'%3E%3Cpath d='M19 13H5v-2h14v2z'/%3E%3C/svg%3E"); /* Minus icon */
    transform: rotate(180deg);
}

.page-faq__accordion-content {
    background-color: #1a2c42;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #d0d0d0;
    line-height: 1.8;
}

.page-faq__accordion-content.active {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

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

/* CTA Section */
.page-faq__cta-section {
    background-color: #111a24;
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
    border-top: 1px solid #2a415a;
}

.page-faq__cta-title {
    font-size: 2.5em;
    color: #E0B147;
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #d0d0d0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-faq__hero-title {
        font-size: 2.5em;
    }

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

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

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

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

    .page-faq__accordion-content {
        padding: 15px 20px;
    }

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

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

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 2em;
    }

    .page-faq__hero-description {
        font-size: 0.9em;
    }

    .page-faq__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-faq__section-title {
        font-size: 1.8em;
    }

    .page-faq__accordion-header h3 {
        font-size: 1em;
    }

    .page-faq__accordion-content p {
        font-size: 0.9em;
    }
}