/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for general content */
    line-height: 1.6;
    background-color: #0d1440; /* Darker variant of primary color for overall background */
}

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

/* Hero Section */
.page-faq-hero {
    position: relative;
    background: linear-gradient(135deg, #1A237E, #0d1440); /* Main dark blue to darker blue */
    padding: 80px 0 120px;
    text-align: center;
    overflow: hidden;
}

.page-faq-hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    height: auto;
    opacity: 0.3;
    z-index: 0;
}

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

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

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

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

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

.page-faq-btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #1A237E; /* Dark blue text on gold */
}

.page-faq-btn-primary:hover {
    background-color: #e5c100; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-faq-btn-secondary {
    background-color: #1A237E; /* Dark blue button */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #FFD700;
}

.page-faq-btn-secondary:hover {
    background-color: #0f185c; /* Slightly darker blue */
    border-color: #e5c100;
    transform: translateY(-2px);
}

/* Accordion Section */
.page-faq-accordion-section {
    padding: 60px 0;
    background-color: #131a47; /* Slightly lighter dark blue */
}

.page-faq-section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold title */
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

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

.page-faq-question.active {
    background-color: #2a3487; /* Slightly lighter blue when active */
    color: #FFD700;
}

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

.page-faq-answer {
    background-color: #0d1440; /* Darker blue for answer background */
    color: #e0e0e0; /* Light text for answer */
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq-answer.active {
    max-height: 200px; /* Adjust based on content, or use JS for dynamic height */
    padding: 20px 30px;
}

.page-faq-answer p {
    margin: 0;
    font-size: 1.1em;
}

.page-faq-answer a {
    color: #FFD700; /* Gold links within answers */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq-answer a:hover {
    color: #e5c100; /* Slightly darker gold on hover */
    text-decoration: underline;
}

.page-faq-contact-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-faq-contact-link {
    color: #FFD700; /* Gold link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq-contact-link:hover {
    color: #e5c100;
    text-decoration: underline;
}

/* Promo Section */
.page-faq-promo-section {
    background-color: #1A237E; /* Main dark blue */
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq-promo-image {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 100%;
    width: auto;
    opacity: 0.1;
    z-index: 0;
}

.page-faq-promo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.page-faq-promo-text {
    max-width: 800px;
}

.page-faq-promo-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold title */
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-faq-promo-description {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-faq-btn-promo {
    background-color: #FFD700;
    color: #1A237E;
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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


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

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

    .page-faq-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-faq-btn {
        width: 80%;
        margin: 0 auto;
    }

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

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

    .page-faq-answer p {
        font-size: 1em;
    }

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

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

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

    .page-faq-btn-promo {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    
    .page-faq-hero-image, .page-faq-promo-image {
        display: none; /* Hide large background images on mobile for better performance/readability */
    }
}

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

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

    .page-faq-btn {
        width: 90%;
    }

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

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

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

    .page-faq-promo-title {
        font-size: 1.5em;
    }

    .page-faq-promo-description {
        font-size: 0.9em;
    }
    
    .page-faq-hero {
        padding: 60px 0 80px;
    }
    
    .page-faq-accordion-section, .page-faq-promo-section {
        padding: 40px 0;
    }
}