/* style/faq.css */

/* Base styles for the FAQ page */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #1A2E4E; /* Dark blue for primary text */
    background-color: #f8f8f8;
    line-height: 1.6;
}

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

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    background: linear-gradient(135deg, #1A2E4E 0%, #3a5c8e 100%); /* Dark blue gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

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

.page-faq__hero-description {
    font-size: 1.3em;
    line-height: 1.8;
    color: #e0e0e0; /* Lighter white for description */
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

/* Accordion Section */
.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #1A2E4E;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq__accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-faq__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 30px;
    background-color: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.25em;
    font-weight: 600;
    color: #1A2E4E; /* Dark blue for question */
    transition: background-color 0.3s ease;
}

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

.page-faq__accordion-question {
    margin: 0;
    flex-grow: 1;
}

.page-faq__accordion-icon {
    font-size: 1.8em;
    font-weight: normal;
    color: #FFD700; /* Gold for icon */
    transition: transform 0.3s ease;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
    transform: rotate(45deg);
}

.page-faq__accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #fcfcfc;
}

.page-faq__accordion-header[aria-expanded="true"] + .page-faq__accordion-panel {
    max-height: 500px; /* Adjust as needed */
    padding: 0 30px 20px;
}

.page-faq__accordion-answer {
    font-size: 1.1em;
    color: #4a5a70; /* Slightly lighter dark blue for answer */
    padding-top: 10px;
}

.page-faq__accordion-bg-image {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    object-fit: contain;
    opacity: 0.05;
    z-index: 1;
    transform: rotate(-15deg);
}

/* Contact CTA Section */
.page-faq__contact-cta {
    background-color: #1A2E4E; /* Dark blue background */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for CTA title */
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.page-faq__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #e0e0e0;
    position: relative;
    z-index: 2;
}

.page-faq__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A2E4E; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 2;
}

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

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

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

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

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

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

    .page-faq__accordion-header[aria-expanded="true"] + .page-faq__accordion-panel {
        padding: 0 20px 15px;
    }

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

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

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

    .page-faq__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-faq__accordion-bg-image {
        width: 200px;
        height: 200px;
        bottom: -30px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-section {
        padding: 60px 0;
    }

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

    .page-faq__hero-description {
        font-size: 0.9em;
    }

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

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

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

    .page-faq__accordion-header[aria-expanded="true"] + .page-faq__accordion-panel {
        padding: 0 15px 12px;
    }

    .page-faq__accordion-icon {
        font-size: 1.5em;
    }

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

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

    .page-faq__cta-description {
        font-size: 0.9em;
    }

    .page-faq__cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}