/* style/faq.css */
.page-faq {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Default text color for dark background */
    background-color: #1A2A40; /* Main background color */
    line-height: 1.6;
}

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

.page-faq__hero {
    background: linear-gradient(135deg, #1A2A40 0%, #3a4d6b 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.page-faq__hero-content {
    flex: 1 1 500px;
    max-width: 600px;
    padding: 20px;
}

.page-faq__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-faq__hero-subtitle {
    font-size: 1.4em;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.page-faq__hero-image-wrapper {
    flex: 1 1 400px;
    max-width: 500px;
}

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

.page-faq__section {
    padding: 60px 0;
    background-color: #243B55;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-faq__section:nth-child(even) {
    background-color: #1A2A40;
}

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

.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__section-description {
    font-size: 1.1em;
    color: #c0c0c0;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__accordion {
    margin-top: 30px;
}

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

.page-faq__accordion-header {
    padding: 20px 25px;
    background-color: #3C5A80;
    color: #FFD700;
    cursor: pointer;
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

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

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

.page-faq__accordion-content p {
    margin-bottom: 15px;
    color: #c0c0c0;
}

.page-faq__accordion-content p:last-child {
    margin-bottom: 0;
}

.page-faq__accordion-content strong {
    color: #FFD700;
}

.page-faq__inline-link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
    color: #fff;
}

/* Buttons */
.page-faq__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    margin-top: 20px;
}

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

.page-faq__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #0d1a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.page-faq__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-faq__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2A40;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.page-faq__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 15px;
}

.page-faq__btn--outline:hover {
    background-color: #FFD700;
    color: #1A2A40;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
}

/* Related Pages Section */
.page-faq__related-pages .page-faq__section-title {
    margin-bottom: 20px;
}

.page-faq__detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-faq__card {
    background-color: #2D4460;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-faq__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-faq__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-faq__card-description {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* CTA Bottom Section */
.page-faq__cta-bottom {
    background: linear-gradient(90deg, #1A2A40, #3C5A80);
    padding: 60px 0;
    text-align: center;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-faq__cta-image {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.page-faq__cta-text {
    max-width: 600px;
}

.page-faq__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-faq__cta-description {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-faq__hero {
        flex-direction: column;
        padding: 60px 0;
    }

    .page-faq__hero-content, .page-faq__hero-image-wrapper {
        max-width: 100%;
    }

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

    .page-faq__hero-subtitle {
        font-size: 1.2em;
    }

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

    .page-faq__cta-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-faq__section {
        padding: 40px 0;
    }

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

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

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

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

    .page-faq__detail-cards {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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