/* style/faq.css */

.page-faq {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light text for dark background */
    background-color: #0A1931; /* Main dark 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: linear-gradient(135deg, #0A1931 0%, #203657 100%); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-faq-hero-title {
    font-size: 3.5em;
    color: #E6B325; /* Auxiliary gold color for emphasis */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq-hero-description {
    font-size: 1.2em;
    color: #F8F8F8;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.page-faq-hero > .page-faq-container {
    position: relative;
    z-index: 1;
}

/* Section Styling */
.page-faq-section {
    padding: 60px 0;
    background-color: #122340; /* Slightly lighter dark blue for sections */
    border-bottom: 1px solid rgba(230, 179, 37, 0.2);
}

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

.page-faq-section-title {
    font-size: 2.5em;
    color: #E6B325;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-faq-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E6B325;
    border-radius: 2px;
}

/* Accordion Styling */
.page-faq-accordion {
    margin-top: 30px;
}

.page-faq-accordion-item {
    background-color: #1A2E4E; /* Darker blue for accordion items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq-accordion-header {
    font-size: 1.4em;
    color: #E6B325;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1A2E4E;
    border-bottom: 1px solid rgba(230, 179, 37, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq-accordion-header:hover {
    background-color: #25406B;
    color: #FFD700; /* Brighter gold on hover */
}

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

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

.page-faq-accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #0A1931;
    color: #CCCCCC;
}

.page-faq-accordion-content.open {
    max-height: 500px; /* Adjust as needed for content length */
    padding: 20px 25px;
}

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

.page-faq-accordion-content ul,
.page-faq-accordion-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-faq-accordion-content li {
    margin-bottom: 8px;
}

/* Buttons */
.page-faq-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin: 10px;
    text-align: center;
    white-space: nowrap;
}

.page-faq-btn-primary {
    background-color: #E6B325; /* Gold */
    color: #0A1931; /* Dark blue */
    border: 2px solid #E6B325;
}

.page-faq-btn-primary:hover {
    background-color: #FFD700; /* Brighter gold */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 179, 37, 0.4);
}

.page-faq-btn-secondary {
    background-color: #0A1931; /* Dark blue */
    color: #E6B325; /* Gold */
    border: 2px solid #E6B325;
}

.page-faq-btn-secondary:hover {
    background-color: #E6B325; /* Gold */
    color: #0A1931; /* Dark blue */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 179, 37, 0.4);
}

.page-faq-btn-tertiary {
    background-color: transparent;
    color: #F8F8F8;
    border: 2px solid #F8F8F8;
}

.page-faq-btn-tertiary:hover {
    background-color: #F8F8F8;
    color: #0A1931;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Inline Links */
.page-faq-link-inline {
    color: #E6B325;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq-link-inline:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Images */
.page-faq-image-small {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Call to Action Section */
.page-faq-cta {
    background: linear-gradient(90deg, #E6B325 0%, #FFD700 100%); /* Gold gradient */
    padding: 60px 0;
    text-align: center;
    color: #0A1931; /* Dark text for light background */
}

.page-faq-cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #0A1931;
}

.page-faq-cta-description {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #333;
}

.page-faq-cta-buttons .page-faq-btn {
    margin: 10px;
}

.page-faq-cta-buttons .page-faq-btn-secondary {
    background-color: #0A1931;
    color: #E6B325;
    border-color: #0A1931;
}

.page-faq-cta-buttons .page-faq-btn-secondary:hover {
    background-color: #203657;
    color: #E6B325;
    border-color: #203657;
}

.page-faq-cta-buttons .page-faq-btn-tertiary {
    background-color: transparent;
    color: #0A1931;
    border-color: #0A1931;
}

.page-faq-cta-buttons .page-faq-btn-tertiary:hover {
    background-color: #0A1931;
    color: #E6B325;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq-hero-title {
        font-size: 2.8em;
    }
    .page-faq-section-title {
        font-size: 2em;
    }
    .page-faq-accordion-header {
        font-size: 1.2em;
        padding: 18px 20px;
    }
    .page-faq-accordion-content {
        padding: 15px 20px;
    }
    .page-faq-cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-faq-hero {
        padding: 60px 0;
    }
    .page-faq-hero-title {
        font-size: 2.2em;
    }
    .page-faq-hero-description {
        font-size: 1em;
    }
    .page-faq-section {
        padding: 40px 0;
    }
    .page-faq-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-faq-accordion-header {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-faq-accordion-content {
        padding: 10px 15px;
    }
    .page-faq-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-faq-cta-title {
        font-size: 1.8em;
    }
    .page-faq-cta-description {
        font-size: 0.9em;
    }
    .page-faq-cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-faq-hero-title {
        font-size: 1.8em;
    }
    .page-faq-section-title {
        font-size: 1.5em;
    }
    .page-faq-accordion-header {
        font-size: 1em;
        padding: 12px;
    }
    .page-faq-accordion-content {
        padding: 8px 12px;
    }
    .page-faq-btn {
        width: 100%;
        margin: 5px 0;
    }
    .page-faq-cta-title {
        font-size: 1.5em;
    }
}