/* style/faq.css */

/* General styles for the FAQ page content */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0F1D33; /* Slightly lighter dark blue for content background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-faq__hero {
    position: relative;
    background-color: #1A2B4C; /* Main brand color */
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-faq__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Accent gold */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-faq__hero-subtitle {
    font-size: 1.4em;
    color: #E0E0E0;
    margin-bottom: 30px;
}

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

/* Section Titles */
.page-faq__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin: 60px 0 40px;
    font-weight: bold;
}

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

.page-faq__accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #1A2B4C;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-item {
    border-bottom: 1px solid #2B3D5C; /* Darker border for separation */
}

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

.page-faq__accordion-header {
    background-color: #1A2B4C;
    color: #FFD700;
    padding: 20px 30px;
    width: 100%;
    text-align: left;
    border: none;
    outline: 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;
    border-radius: 10px; /* Apply to corners for first/last item */
}

.page-faq__accordion-item:first-child .page-faq__accordion-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.page-faq__accordion-item:last-child .page-faq__accordion-header {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.page-faq__accordion-header:hover,
.page-faq__accordion-header.active {
    background-color: #2B3D5C; /* Slightly lighter dark blue on hover/active */
    color: #FFFFFF;
}

.page-faq__accordion-header h3 {
    margin: 0;
    color: inherit; /* Inherit color from button */
}

.page-faq__accordion-icon {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active .page-faq__accordion-icon {
    transform: rotate(45deg); /* Change to X or - for active */
}

.page-faq__accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #0F1D33;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.page-faq__accordion-body.active {
    max-height: 500px; /* Adjust as needed for content height */
}

.page-faq__accordion-content {
    padding: 20px 30px;
    color: #E0E0E0;
    font-size: 1.1em;
}

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

.page-faq__accordion-content p:last-child {
    margin-bottom: 0;
}

.page-faq__accordion-content strong {
    color: #FFD700;
}

.page-faq__security-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 8px;
}

.page-faq__highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Call to Action Section */
.page-faq__cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A2B4C, #0F1D33);
    text-align: center;
}

.page-faq__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

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

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

.page-faq__button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2B4C;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__button:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-3px);
}

.page-faq__cta-image-wrapper {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
}

.page-faq__cta-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

    .page-faq__cta-image-wrapper {
        flex: 1;
        margin-top: 0;
        max-width: 40%;
    }
}

@media (max-width: 768px) {
    .page-faq__hero {
        padding: 60px 20px;
        min-height: 300px;
    }

    .page-faq__hero-title {
        font-size: 2.5em;
    }

    .page-faq__hero-subtitle {
        font-size: 1.1em;
    }

    .page-faq__section-title {
        font-size: 2em;
        margin: 40px 0 30px;
    }

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

    .page-faq__accordion-content {
        font-size: 1em;
        padding: 15px 20px;
    }

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

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

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

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

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

    .page-faq__section-title {
        font-size: 1.8em;
        margin: 30px 0 20px;
    }

    .page-faq__accordion-header {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-faq__accordion-content {
        font-size: 0.95em;
        padding: 12px 15px;
    }

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

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