/* style/faq.css */

/* General page-faq styling */
.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333; /* Dark gray for readability on light backgrounds */
    background-color: #f8f8f8; /* Light background */
}

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

/* Hero Section */
.page-faq-hero {
    background: linear-gradient(135deg, #003366 0%, #004488 100%); /* Deep blue gradient */
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern,subtle,blue]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-faq-hero .page-faq-container {
    position: relative;
    z-index: 1;
}

.page-faq-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00; /* Golden yellow for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-faq-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

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

.page-faq-btn-primary {
    background-color: #FFCC00; /* Golden yellow */
    color: #003366; /* Deep blue */
    border: 2px solid #FFCC00;
}

.page-faq-btn-primary:hover {
    background-color: #e6b800; /* Darker yellow */
    border-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-faq-btn-secondary {
    background-color: transparent;
    color: #FFCC00; /* Golden yellow */
    border: 2px solid #FFCC00;
}

.page-faq-btn-secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-faq-hero-image {
    margin-top: 40px;
}

.page-faq-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-faq-introduction {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.page-faq-introduction .page-faq-description {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 1.1em;
    color: #555;
}

/* Main Content - Accordion */
.page-faq-main-content {
    padding: 60px 0;
    background-color: #f0f4f8; /* Light blue-gray background */
}

.page-faq-section-title {
    font-size: 2.5em;
    color: #003366; /* Deep blue */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq-section-description {
    font-size: 1.1em;
    color: #666;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-faq-accordion-list {
    margin-top: 30px;
}

.page-faq-accordion-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-faq-accordion-header {
    margin: 0;
}

.page-faq-accordion-button {
    width: 100%;
    background-color: #003366; /* Deep blue */
    color: #fff;
    padding: 20px 25px;
    border: none;
    text-align: left;
    font-size: 1.25em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-faq-accordion-button:hover {
    background-color: #004488; /* Slightly lighter blue */
}

.page-faq-accordion-icon {
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFCC00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14M5 12h14"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.page-faq-accordion-button[aria-expanded="true"] .page-faq-accordion-icon {
    transform: rotate(45deg); /* Change plus to cross */
}

.page-faq-accordion-content {
    padding: 25px;
    border-top: 1px solid #eee;
    color: #444;
    font-size: 1.05em;
    background-color: #fff;
    max-height: 0; /* Initial state for animation */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq-accordion-content p {
    margin-bottom: 15px;
}

.page-faq-accordion-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-faq-accordion-content li {
    margin-bottom: 8px;
}

.page-faq-accordion-content h4 {
    color: #003366;
    font-size: 1.15em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-faq-inline-link {
    color: #003366;
    text-decoration: underline;
    font-weight: bold;
}

.page-faq-inline-link:hover {
    color: #FFCC00;
}

.page-faq-btn-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #FFCC00;
    color: #003366;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-faq-btn-link:hover {
    background-color: #e6b800;
}

/* CTA Section */
.page-faq-cta-section {
    background-color: #003366;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq-cta-text {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #FFCC00;
    font-weight: bold;
}

/* Related FAQs Section */
.page-faq-related-faqs {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

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

.page-faq-detail-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-faq-detail-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-faq-detail-title a {
    color: #003366;
    text-decoration: none;
}

.page-faq-detail-title a:hover {
    color: #FFCC00;
}

.page-faq-detail-description {
    color: #555;
    font-size: 0.95em;
    margin-bottom: 15px;
}

/* Conclusion Section */
.page-faq-conclusion {
    padding: 60px 0;
    background-color: #f0f4f8;
    text-align: center;
}

.page-faq-conclusion .page-faq-description {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 1.1em;
    color: #555;
}

.page-faq-image-conclusion {
    margin-top: 40px;
}

.page-faq-conclusion-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* CTA Bottom Section */
.page-faq-cta-bottom {
    background-color: #003366;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-faq-cta-bottom .page-faq-section-title {
    color: #FFCC00;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-faq-cta-bottom .page-faq-section-description {
    color: #e0e0e0;
    font-size: 1.2em;
    margin-bottom: 40px;
}

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


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

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

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

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

    .page-faq-accordion-button {
        font-size: 1.1em;
        padding: 18px 20px;
    }

    .page-faq-accordion-content {
        padding: 20px;
        font-size: 1em;
    }

    .page-faq-detail-list {
        grid-template-columns: 1fr;
    }

    .page-faq-cta-text {
        font-size: 1.2em;
    }

    .page-faq-cta-bottom .page-faq-section-title {
        font-size: 2em;
    }
    .page-faq-cta-bottom .page-faq-section-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq-hero {
        padding: 60px 0 30px;
    }
    .page-faq-title {
        font-size: 2em;
    }
    .page-faq-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-faq-section-title {
        font-size: 1.8em;
    }
    .page-faq-accordion-button {
        font-size: 1em;
        padding: 15px;
    }
    .page-faq-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}