/* style/faq.css */

/* Base Styles for .page-faq */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light backgrounds, contrast 7.5:1 with #f8f8f8 */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background */
}

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

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #0A2463, #3A5C97); /* Deeper blue gradient */
    color: #FFFFFF; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]'); /* Abstract pattern */
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-faq__hero > .page-faq__container {
    position: relative;
    z-index: 1;
}

.page-faq__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title, contrast 12.3:1 with #0A2463 */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0; /* Lighter white for subtitle, contrast 12.3:1 with #0A2463 */
}

.page-faq__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Deep blue text on gold button, contrast 12.3:1 */
    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;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-2px);
}

/* FAQ List Section */
.page-faq__faq-list {
    padding: 60px 0;
}

.page-faq__accordion {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-faq__accordion-item {
    border-bottom: 1px solid #eeeeee;
}

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

.page-faq__accordion-header {
    width: 100%;
    padding: 20px 25px;
    background-color: #FFFFFF;
    color: #0A2463; /* Deep blue text for headers, contrast 18.6:1 with #FFFFFF */
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700; /* Gold plus sign, contrast 12.3:1 with #0A2463 */
    transition: transform 0.3s ease;
}

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

.page-faq__accordion-content {
    padding: 0 25px;
    background-color: #fcfcfc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__accordion-content.active {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-faq__accordion-content p {
    margin-bottom: 15px;
    color: #555555; /* Darker gray for paragraph, contrast 6.2:1 with #fcfcfc */
}

.page-faq__inline-button {
    display: inline-block;
    background-color: #0A2463; /* Deep blue button */
    color: #FFD700; /* Gold text on deep blue button, contrast 12.3:1 */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-faq__inline-button:hover {
    background-color: #1a3a7c; /* Slightly lighter blue on hover */
}

/* Call to Action Section */
.page-faq__call-to-action {
    background-color: #0A2463; /* Deep blue background */
    color: #FFFFFF; /* White text */
    padding: 70px 0;
    text-align: center;
}

.page-faq__cta-heading {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold heading, contrast 12.3:1 with #0A2463 */
}

.page-faq__cta-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0; /* Lighter white, contrast 12.3:1 with #0A2463 */
}

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

.page-faq__cta-button--primary {
    background-color: #FFD700;
    color: #0A2463;
}

.page-faq__cta-button--primary:hover {
    background-color: #e6c200;
}

.page-faq__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700; /* Gold text, contrast 12.3:1 with #0A2463 */
}

.page-faq__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
}

/* Floating Ad Menu */
.page-faq__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #FFD700; /* Gold background */
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: page-faq__bounce 2s infinite;
}

.page-faq__floating-ad a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0A2463; /* Deep blue text, contrast 12.3:1 with #FFD700 */
    font-weight: bold;
}

.page-faq__floating-ad-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.page-faq__floating-ad-text {
    font-size: 1.1em;
    white-space: nowrap;
}

.page-faq__floating-ad:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: scale(1.02);
    animation: none;
}

@keyframes page-faq__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}


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

    .page-faq__subtitle {
        font-size: 1em;
    }

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

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

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

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

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

    .page-faq__cta-button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-faq__floating-ad {
        bottom: 15px;
        right: 15px;
        padding: 8px 15px;
    }

    .page-faq__floating-ad-icon {
        width: 25px;
        height: 25px;
    }

    .page-faq__floating-ad-text {
        font-size: 0.9em;
    }
}

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

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