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

.page-faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-faq-hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-faq-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4);
}

.page-faq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.8), rgba(255, 215, 0, 0.2));
    z-index: 0;
}

.page-faq-main-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-subtitle {
    font-size: 1.3em;
    color: #f5e6d0;
    margin-bottom: 40px;
}

.page-faq-hero-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    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;
    border: none;
    cursor: pointer;
}

.page-faq-hero-btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-faq-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-faq-section:nth-of-type(odd) {
    background-color: #1a2a47;
}

.page-faq-section:nth-of-type(even) {
    background-color: #0A192F;
}

.page-faq-section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-faq-section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.page-faq-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-faq-accordion {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.page-faq-item {
    background-color: #15253F;
    border: 1px solid #FFD700;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq-question {
    background-color: #0A192F;
    color: #FFD700;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-faq-question:hover {
    background-color: #1a2a47;
}

.page-faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq-answer {
    padding: 0 25px;
    background-color: #15253F;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq-answer.active {
    max-height: 500px; /* Adjust based on expected content length */
    padding: 20px 25px;
}

.page-faq-answer p {
    margin-bottom: 15px;
    color: #f5e6d0;
}

.page-faq-link-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.page-faq-link-btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-faq-cta {
    background-color: #0A192F;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq-cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    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;
}

.page-faq-cta-text {
    font-size: 1.2em;
    color: #f5e6d0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq-cta-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-faq-cta-btn:hover {
    background-color: #e6c200;
    transform: translateY(-4px);
}

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

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

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

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

    .page-faq-answer {
        padding: 15px 20px;
    }

    .page-faq-cta-title {
        font-size: 2.2em;
    }

    .page-faq-cta-text {
        font-size: 1em;
    }

    .page-faq-hero-btn, .page-faq-cta-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq-hero {
        padding: 80px 0;
    }

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

    .page-faq-subtitle {
        font-size: 0.9em;
    }

    .page-faq-section {
        padding: 40px 0;
    }

    .page-faq-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-faq-answer {
        padding: 12px 15px;
    }

    .page-faq-cta {
        padding: 60px 0;
    }

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

    .page-faq-cta-text {
        font-size: 0.9em;
    }

    .page-faq-hero-btn, .page-faq-cta-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}