/* style/faq.css */

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

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #0A1931 0%, #1a3a66 100%); /* Dark blue gradient */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-faq__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-faq__title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #E0B400; /* Gold title for emphasis */
    font-weight: bold;
}

.page-faq__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-faq__hero-cta {
    display: inline-block;
    background-color: #E0B400; /* Gold button */
    color: #0A1931; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__hero-cta:hover {
    background-color: #f5c72a;
    transform: translateY(-3px);
}

.page-faq__hero-image-wrapper {
    max-width: 600px;
    margin-top: 40px;
}

.page-faq__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Accordion Section */
.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-faq__section-title {
    font-size: 2.2em;
    color: #0A1931;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq__accordion {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

.page-faq__accordion-icon {
    font-size: 1.5em;
    font-weight: bold;
    color: #E0B400;
    transition: transform 0.3s ease;
}

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

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

.page-faq__accordion-body p,
.page-faq__accordion-body ul {
    padding-bottom: 15px;
    margin-top: 0;
}

.page-faq__accordion-body ul {
    list-style: disc;
    padding-left: 20px;
}

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

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

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

.page-faq__link {
    color: #E0B400;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-faq__link:hover {
    color: #0A1931;
    text-decoration: underline;
}

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

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

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

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

.page-faq__cta-button {
    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, transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button--primary {
    background-color: #E0B400;
    color: #0A1931;
}

.page-faq__cta-button--primary:hover {
    background-color: #f5c72a;
    transform: translateY(-3px);
}

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

.page-faq__cta-button--secondary:hover {
    background-color: #E0B400;
    color: #0A1931;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-faq__hero {
        padding: 60px 15px;
    }

    .page-faq__title {
        font-size: 2.2em;
    }

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

    .page-faq__hero-cta {
        padding: 12px 25px;
        font-size: 1em;
    }

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

    .page-faq__accordion-header {
        font-size: 1em;
        padding: 18px 20px;
    }

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

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

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

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

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

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

@media (max-width: 480px) {
    .page-faq__hero {
        padding: 40px 10px;
    }

    .page-faq__title {
        font-size: 1.8em;
    }

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

    .page-faq__hero-cta {
        padding: 10px 20px;
        font-size: 0.9em;
    }

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

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

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

    .page-faq__accordion-body {
        padding: 10px 15px;
    }

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

    .page-faq__cta-button {
        width: 90%;
    }
}