/* style/faq.css */

/* General container and section styling */
.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-faq__section {
    padding: 60px 0;
    text-align: center;
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #1A237E; /* Deep blue-purple */
    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: #FFC107; /* Vibrant gold */
    border-radius: 2px;
}

/* Hero Section */
.page-faq__hero {
    background: linear-gradient(135deg, #1A237E, #3F51B5); /* Gradient from primary to a slightly lighter blue */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.page-faq__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFC107; /* Vibrant gold for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E0E0E0; /* Light gray for readability */
}

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

/* Buttons */
.page-faq__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-faq__btn--primary {
    background-color: #FFC107; /* Vibrant gold */
    color: #1A237E; /* Deep blue-purple */
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-faq__btn--primary:hover {
    background-color: #e5af00; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-faq__btn--secondary {
    background-color: transparent;
    color: #FFC107; /* Vibrant gold */
    border: 2px solid #FFC107;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.2);
}

.page-faq__btn--secondary:hover {
    background-color: rgba(255, 193, 7, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
}

.page-faq__btn--large {
    padding: 18px 35px;
    font-size: 1.3em;
}

/* FAQ Accordion */
.page-faq__faq-list {
    background-color: #F8F8F8; /* Light background for contrast */
}

.page-faq__accordion {
    max-width: 900px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-faq__accordion-question {
    background-color: #FFFFFF;
    color: #1A237E; /* Deep blue-purple */
    padding: 20px 30px;
    font-size: 1.3em;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFC107; /* Vibrant gold */
    transition: transform 0.3s ease;
}

.page-faq__accordion-question.active {
    background-color: #E3F2FD; /* Lighter blue for active state */
}

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

.page-faq__accordion-answer {
    background-color: #F0F4C3; /* Very light yellow/cream for answer background, good contrast with #1A237E text */
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    text-align: left;
    color: #333333; /* Dark gray for body text */
}

.page-faq__accordion-answer p {
    padding: 20px 0;
    line-height: 1.8;
    margin: 0;
}

.page-faq__accordion-answer a {
    color: #1A237E; /* Link color matching primary */
    text-decoration: underline;
    font-weight: 500;
}

.page-faq__accordion-answer a:hover {
    color: #FFC107; /* Gold on hover */
    text-decoration: none;
}

/* Related Info Section */
.page-faq__related-info {
    background-color: #FFFFFF;
}

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

.page-faq__info-card {
    background-color: #FDFDFD;
    border: 1px solid #EEEEEE;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq__info-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    /* Placeholder for icon styling, system will replace with actual images */
}

.page-faq__info-card-title {
    font-size: 1.5em;
    color: #1A237E; /* Deep blue-purple */
    margin-bottom: 15px;
}

.page-faq__info-card p {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-faq__info-card-link {
    color: #FFC107; /* Vibrant gold */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-faq__info-card-link:hover {
    color: #1A237E; /* Deep blue-purple on hover */
    text-decoration: underline;
}

/* Bottom CTA Section */
.page-faq__cta-bottom {
    background-color: #1A237E; /* Primary color background */
    color: #FFFFFF;
    padding: 80px 0;
}

.page-faq__cta-bottom-title {
    font-size: 3em;
    color: #FFC107; /* Vibrant gold */
    margin-bottom: 20px;
}

.page-faq__cta-bottom-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #E0E0E0;
}

/* Floating Promotion Button */
.page-faq__floating-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.page-faq__floating-promo a {
    display: flex;
    align-items: center;
    background-color: #FFC107; /* Vibrant gold */
    color: #1A237E; /* Deep blue-purple */
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1em;
}

.page-faq__floating-promo a:hover {
    background-color: #e5af00; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-faq__floating-promo-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    /* Styles for the icon, system will replace with actual image */
}

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

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

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

    .page-faq__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .page-faq__accordion-answer p {
        padding: 15px 0;
        font-size: 0.95em;
    }

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

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

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

    .page-faq__floating-promo a {
        padding: 8px 15px;
        font-size: 0.9em;
    }

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

@media (max-width: 480px) {
    .page-faq__hero {
        padding: 60px 0;
    }
    .page-faq__hero-title {
        font-size: 2em;
    }
    .page-faq__section {
        padding: 40px 0;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__accordion-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-faq__accordion-answer {
        padding: 0 15px;
    }
    .page-faq__cta-bottom-title {
        font-size: 1.8em;
    }
}