/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-faq__hero {
    background: linear-gradient(135deg, #0A246A, #1A3E8A);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-faq__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-faq__title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold for emphasis */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-faq__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.page-faq__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-faq__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
}

.page-faq__btn--primary {
    background-color: #FFD700;
    color: #0A246A;
    border: 2px solid #FFD700;
}

.page-faq__btn--primary:hover {
    background-color: #E6C200;
    border-color: #E6C200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__btn--secondary {
    background-color: transparent;
    color: #0A246A;
    border: 2px solid #0A246A;
    padding: 10px 25px;
    font-size: 1em;
}

.page-faq__btn--secondary:hover {
    background-color: #0A246A;
    color: #FFD700;
    transform: translateY(-1px);
}

.page-faq__section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.page-faq__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #0A246A;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-faq__accordion-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #0A246A;
    color: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.25em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.25em;
}

.page-faq__accordion-icon {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-faq__accordion-header.active .page-faq__accordion-icon {
    transform: rotate(45deg);
}

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

.page-faq__accordion-content p {
    padding-bottom: 15px;
    color: #555;
}

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

.page-faq__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__cta {
    background-color: #0A246A;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.page-faq__cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
}

.page-faq__cta-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

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

    .page-faq__subtitle,
    .page-faq__cta-text {
        font-size: 1.1em;
    }

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

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

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

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

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

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

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

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

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

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