/* style/faq.css */

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

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

/* Hero Section */
.page-faq__hero-section {
    background: linear-gradient(135deg, #0A192F 0%, #1a2a47 100%);
    padding: 80px 0;
    text-align: center;
    color: #FFD700; /* Gold for hero text */
}

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

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

.page-faq__hero-cta-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

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

/* FAQ List Section */
.page-faq__faq-list-section {
    padding: 60px 0;
    background-color: #1a2a47; /* Slightly lighter dark blue for content */
}

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

.page-faq__accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__accordion-item {
    background-color: #0A192F;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-faq__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #0A192F;
    color: #FFD700;
    font-size: 1.3em;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #1a2a47;
}

.page-faq__question-title {
    margin: 0;
    color: #FFD700;
    font-size: 1em; /* Relative to parent summary font size */
}

.page-faq__toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

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

.page-faq__toggle-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.page-faq__toggle-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.page-faq__accordion-item[open] .page-faq__toggle-icon::after {
    transform: translateX(-50%) rotate(90deg) scale(0);
}

.page-faq__accordion-item[open] .page-faq__accordion-header {
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-faq__accordion-content {
    padding: 20px 25px;
    background-color: #11223d;
    color: #c0c0c0;
    font-size: 1.1em;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

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

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

.page-faq__accordion-content a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq__accordion-content a:hover {
    color: #e6c200;
    text-decoration: underline;
}

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

.page-faq__cta-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    margin-top: 15px;
}

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

/* CTA Section */
.page-faq__cta-section {
    background-color: #0A192F;
    padding: 80px 0;
    text-align: center;
}

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

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

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

.page-faq__cta-btn--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-faq__cta-btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

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

    .page-faq__hero-description,
    .page-faq__accordion-content,
    .page-faq__cta-description {
        font-size: 1em;
    }

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

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

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

    .page-faq__hero-section,
    .page-faq__faq-list-section,
    .page-faq__cta-section {
        padding: 50px 0;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-faq__hero-cta-btn,
    .page-faq__cta-btn {
        width: 80%;
        max-width: 300px;
    }
}

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

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

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

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

    .page-faq__hero-cta-btn,
    .page-faq__cta-btn {
        font-size: 0.95em;
        padding: 12px 25px;
    }
}