/* style/faq.css */

/* General page styling */
.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark grey for general text on light background */
    background-color: #f8f8f8;
}

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

.page-faq-section-title {
    font-size: 2.5em;
    color: #0A2463; /* Deep blue for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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; /* Gold underline */
    border-radius: 2px;
}

/* Hero Section */
.page-faq-hero-section {
    background: linear-gradient(135deg, #0A2463 0%, #2a4a83 100%); /* Gradient with main color */
    color: #ffffff; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-faq-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
}

.page-faq-hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #e0e0e0; /* Light grey for description */
}

.page-faq-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle background image */
    z-index: 0;
}

/* Common Questions Section (Accordion) */
.page-faq-common-questions {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-faq-accordion-wrapper {
    margin-top: 40px;
}

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

.page-faq-accordion-summary {
    display: block;
    padding: 20px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: #0A2463; /* Deep blue for question */
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-faq-accordion-summary:hover {
    background-color: #f0f0f0;
}

.page-faq-accordion-summary::-webkit-details-marker {
    display: none;
}

.page-faq-accordion-summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700; /* Gold plus sign */
    transition: transform 0.3s ease;
}

.page-faq-accordion-item[open] .page-faq-accordion-summary::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.page-faq-accordion-content {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #555555; /* Slightly lighter grey for answer text */
    border-top: 1px solid #eeeeee;
}

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

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

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

.page-faq-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

.page-faq-btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Deep blue text on gold */
    border: 2px solid #FFD700;
}

.page-faq-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: #0A2463;
    transform: translateY(-2px);
}

.page-faq-btn-secondary {
    background-color: #0A2463; /* Deep blue button */
    color: #ffffff; /* White text on deep blue */
    border: 2px solid #0A2463;
}

.page-faq-btn-secondary:hover {
    background-color: #1a3c7a; /* Slightly lighter blue on hover */
    color: #ffffff;
    transform: translateY(-2px);
}

.page-faq-btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-faq-image-small {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-faq-image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Detailed Sections (Sub-FAQ links) */
.page-faq-detailed-sections {
    padding: 60px 0;
    background-color: #f0f4f8; /* Light blue-grey background */
}

.page-faq-detailed-intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    color: #444444;
}

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

.page-faq-sub-faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq-sub-faq-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-faq-sub-faq-title {
    font-size: 1.5em;
    color: #0A2463; /* Deep blue for sub-titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-faq-sub-faq-description {
    font-size: 1em;
    color: #666666;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Call to Action Section */
.page-faq-cta-section {
    background-color: #0A2463; /* Main brand color background */
    color: #ffffff; /* White text */
    padding: 80px 0;
    text-align: center;
}

.page-faq-cta-content {
    max-width: 800px;
}

.page-faq-cta-section .page-faq-section-title {
    color: #FFD700; /* Gold title on deep blue background */
}

.page-faq-cta-section .page-faq-section-title::after {
    background-color: #ffffff; /* White underline */
}

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

/* Conclusion Section */
.page-faq-conclusion {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.page-faq-conclusion .page-faq-section-title {
    color: #0A2463;
}

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

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

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

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

    .page-faq-accordion-summary::after {
        right: 20px;
    }

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

    .page-faq-sub-faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-faq-sub-faq-item {
        padding: 25px;
    }

    .page-faq-sub-faq-title {
        font-size: 1.3em;
    }

    .page-faq-btn-large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-faq-hero-section {
        padding: 60px 0;
    }
    .page-faq-hero-title {
        font-size: 2.2em;
    }
    .page-faq-hero-description {
        font-size: 1em;
    }
    .page-faq-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-faq-common-questions,
    .page-faq-detailed-sections,
    .page-faq-cta-section,
    .page-faq-conclusion {
        padding: 40px 0;
    }
    .page-faq-accordion-summary {
        font-size: 1.1em;
        padding: 15px 18px;
    }
    .page-faq-accordion-summary::after {
        right: 18px;
        font-size: 1.3em;
    }
    .page-faq-accordion-content {
        padding: 0 18px 15px;
        font-size: 0.95em;
    }
    .page-faq-sub-faq-grid {
        grid-template-columns: 1fr; /* Stack on small screens */
    }
    .page-faq-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-faq-btn-large {
        padding: 10px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-faq-hero-title {
        font-size: 1.8em;
    }
    .page-faq-section-title {
        font-size: 1.5em;
    }
    .page-faq-accordion-summary {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-faq-accordion-summary::after {
        right: 15px;
        font-size: 1.2em;
    }
    .page-faq-accordion-content {
        padding: 0 15px 12px;
        font-size: 0.9em;
    }
    .page-faq-btn-large {
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}