/* style/faq.css */

/* General page-faq styles */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for general text on dark background */
    background-color: #0A1931; /* Midnight Blue primary background */
    line-height: 1.6;
    padding-bottom: 60px; /* Space for potential footer */
}

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

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #0A1931 0%, #1A2E4C 100%); /* Slightly lighter blue gradient */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.page-faq__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Subtle background image */
    z-index: 0;
}

.page-faq__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.page-faq__title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #C0C0C0;
}

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

.page-faq__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-faq__button--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A1931; /* Midnight Blue text */
    border-color: #FFD700;
}

.page-faq__button--primary:hover {
    background-color: #e6c200; /* Darker gold on hover */
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-faq__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border-color: #FFD700;
}

.page-faq__button--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Accordion Section */
.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #0A1931;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

.page-faq__accordion {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-faq__accordion-header {
    background-color: #1A2E4C; /* Darker blue for header */
    color: #FFD700;
    padding: 20px 30px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25em;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #2A456B; /* Slightly lighter on hover */
    color: #FFFFFF;
}

.page-faq__accordion-question {
    margin: 0;
    flex-grow: 1;
    color: #FFD700; /* Ensure question text is gold */
}

.page-faq__accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.page-faq__accordion-icon::before,
.page-faq__accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #FFD700;
    transition: transform 0.3s ease;
}

.page-faq__accordion-icon::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}

.page-faq__accordion-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 9px;
}

.page-faq__accordion-header.active .page-faq__accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0; /* Hide vertical bar when active */
}
.page-faq__accordion-header.active .page-faq__accordion-icon::before {
    transform: rotate(180deg);
}


.page-faq__accordion-content {
    background-color: #12233F; /* Slightly lighter blue for content */
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #E0E0E0;
}

.page-faq__accordion-content.open {
    max-height: 1000px; /* Adjust based on max content height */
    padding: 20px 30px;
}

.page-faq__accordion-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #C0C0C0; /* Ensure good contrast */
}

.page-faq__accordion-content ul,
.page-faq__accordion-content ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: #C0C0C0;
}

.page-faq__accordion-content li {
    margin-bottom: 8px;
    color: #C0C0C0;
}

.page-faq__accordion-content h4 {
    font-size: 1.15em;
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-faq__text-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq__text-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-faq__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Call to Action Section */
.page-faq__call-to-action {
    background-color: #0A1931; /* Ensure consistent dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.page-faq__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1; /* Subtle background image */
    z-index: 0;
}

.page-faq__cta-content {
    position: relative;
    z-index: 1;
}

.page-faq__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #C0C0C0;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-faq__title {
        font-size: 2.8em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faq__hero {
        padding: 60px 0;
    }
    .page-faq__title {
        font-size: 2.2em;
    }
    .page-faq__subtitle {
        font-size: 1.1em;
    }
    .page-faq__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-faq__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-faq__accordion-content {
        padding: 15px 20px;
    }
    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .page-faq__hero {
        padding: 40px 0;
    }
    .page-faq__title {
        font-size: 1.8em;
    }
    .page-faq__subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-faq__cta-group,
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__button {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    .page-faq__accordion-header {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-faq__accordion-content {
        padding: 12px 15px;
    }
    .page-faq__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-faq__cta-title {
        font-size: 1.5em;
    }
    .page-faq__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
}